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 e9ea5e4 commit 814a941Copy full SHA for 814a941
test/integration/handlers/delay.spec.ts
@@ -29,7 +29,7 @@ describe("Delay steps", function () {
29
const startTime = Date.now();
30
let result = await fetch(server.urlFor('/mocked-endpoint')).catch(e => e);
31
expect(await result.status).to.equal(200);
32
- expect(Date.now() - startTime).to.be.greaterThan(100);
+ expect(Date.now() - startTime).to.be.greaterThanOrEqual(100);
33
});
34
35
nodeOnly(() => {
@@ -48,7 +48,7 @@ describe("Delay steps", function () {
48
expect((result as Error).message).to.equal("Unexpected server response: 401");
49
ws.close(1000);
50
51
52
53
54
0 commit comments