Skip to content

Commit b7b7557

Browse files
author
pooya parsa
committed
fix test
1 parent f290d5d commit b7b7557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/client.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ it('Throws without passing endpoint', () => {
77
it('Throws on unexpected status code', async () => {
88
const client = new HTTPFSAClient({ endpoint: 'http://' })
99
client._request = () => Promise.resolve({ status: 500 })
10-
await expect(client.exists('/')).rejects.toThrow('Error: Unexpected status 500')
10+
await expect(client.exists('/')).rejects.toThrow('Unexpected status 500')
1111
})

0 commit comments

Comments
 (0)