Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Pckool committed Oct 25, 2023
1 parent e1e7ea6 commit 0318286
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 0.1
cli:
version: 1.17.0
version: 1.17.1
plugins:
sources:
- id: trunk
Expand Down
10 changes: 0 additions & 10 deletions tests/api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,6 @@ describe('Testing Api Function', () => {
abortOnTimeout: true,
})

apiUsingOnResponse.options({
headers: {
custom: 'header',
},
})
// console.log(myApi.config)
expect(apiUsingOnResponse.config).toBeDefined()
expect(apiUsingOnResponse.config.headers).toBeDefined()
expect(apiUsingOnResponse.config.headers['custom']).toBe('header')

let errorOccurred = false

try {
Expand Down

0 comments on commit 0318286

Please sign in to comment.