We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f290d5d commit b7b7557Copy full SHA for b7b7557
test/client.test.js
@@ -7,5 +7,5 @@ it('Throws without passing endpoint', () => {
7
it('Throws on unexpected status code', async () => {
8
const client = new HTTPFSAClient({ endpoint: 'http://' })
9
client._request = () => Promise.resolve({ status: 500 })
10
- await expect(client.exists('/')).rejects.toThrow('Error: Unexpected status 500')
+ await expect(client.exists('/')).rejects.toThrow('Unexpected status 500')
11
})
0 commit comments