Skip to content

Commit

Permalink
Fix test: 1000ms timeout for the test with expected timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
HDegroote committed Apr 8, 2024
1 parent 329f774 commit a19f646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/end-to-end-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test('Cannot access private-mode server with public key', async t => {
const clientPort = await setupHyperteleClient(pubKey, bootstrap, t, { isPrivate: false })

// Could also be a socket hangup if more time is given
await t.exception(async () => await request(clientPort), /Request timeout/)
await t.exception(async () => await request(clientPort, { msTimeout: 1000 }), /Request timeout/)
})

test('Can proxy in non-private mode', async t => {
Expand Down

0 comments on commit a19f646

Please sign in to comment.