Skip to content

Commit

Permalink
SQUASH with tweak test timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed May 23, 2024
1 parent 1737b43 commit 3b54e0d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion imports/_test/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const server = (title, fn) => {
};

describe(title, function () {
this.timeout(isAppTest() ? 10_000: 1000);
this.timeout(isAppTest() ? 10_000: 500);
beforeEach(prepare);
fn();
afterEach(cleanup);
Expand Down
2 changes: 1 addition & 1 deletion imports/lib/pdf/pdf.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ server(__filename, () => {
it('should work on the server', async () => {
const data = randomPDFUint8Array();
await fetchPDF({data});
});
}).timeout(1000);
});
2 changes: 1 addition & 1 deletion server/api/rateLimit.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,5 +329,5 @@ server(__filename, () => {
assert.strictEqual(response.text, 'Too Many Requests');
}
}
});
}).timeout(2000);
});

0 comments on commit 3b54e0d

Please sign in to comment.