Skip to content

Commit

Permalink
fix: CodeQL sniffing
Browse files Browse the repository at this point in the history
  • Loading branch information
blephy committed Jan 28, 2025
1 parent 5121e8a commit 04ffecc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,5 +145,6 @@
"testMatch": [
"<rootDir>/test/jest/**"
]
}
},
"packageManager": "[email protected]+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0"
}
6 changes: 3 additions & 3 deletions test/mock-agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ test('MockAgent - getCallHistory with no name parameter with request should retu
const method = 'POST'
const body = { data: 'value' }
const query = { a: 1 }
const headers = { authorization: 'Bearer token' }
const headers = { 'content-type': 'application/json' }

await request(url, { method, query, body: JSON.stringify(body), headers })

Expand Down Expand Up @@ -1027,7 +1027,7 @@ test('MockAgent - getCallHistory with name parameter should return the intercept
const method = 'POST'
const body = { data: 'value' }
const query = { a: 1 }
const headers = { authorization: 'Bearer token' }
const headers = { 'content-type': 'application/json' }

await request(url, { method, query, body: JSON.stringify(body), headers })

Expand Down Expand Up @@ -1164,7 +1164,7 @@ test('MockAgent - clearAllCallHistory should clear all call histories', async (t
const method = 'POST'
const body = { data: 'value' }
const query = { a: 1 }
const headers = { authorization: 'Bearer token' }
const headers = { 'content-type': 'application/json' }

await request(url, { method, query, body: JSON.stringify(body), headers })
await request(url, { method, query, body: JSON.stringify(body), headers })
Expand Down

0 comments on commit 04ffecc

Please sign in to comment.