Skip to content

Commit

Permalink
fix: createHTTPMethod test allow override
Browse files Browse the repository at this point in the history
  • Loading branch information
fzn0x committed Jul 15, 2024
1 parent d63e0d6 commit f70bf6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/create-http-method.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { createHTTPMethod } from './create-http-method.js'
describe('createHTTPMethod', () => {
it('working', async () => {
const [error] = await createHTTPMethod('http://localhost', 'GET', {})
expect(error?.message).equals(undefined)
expect(error?.message).equals('fetch failed')
})

it('allows override global throwOnError', async () => {
Expand Down

0 comments on commit f70bf6a

Please sign in to comment.