Set jest timeout globally for all tests as tests break in GH actions due to timeout

This commit is contained in:
simojenki
2022-10-20 13:29:33 +11:00
parent 91995678a4
commit 719fd998b1
3 changed files with 2 additions and 5 deletions

View File

@@ -167,8 +167,6 @@ describe("RangeBytesFromFilter", () => {
describe("server", () => {
jest.setTimeout(Number.parseInt(process.env["JEST_TIMEOUT"] || "2000"));
beforeEach(() => {
jest.clearAllMocks();
jest.resetAllMocks();

View File

@@ -90,8 +90,6 @@ describe("rating to and from ints", () => {
});
describe("service config", () => {
jest.setTimeout(Number.parseInt(process.env["JEST_TIMEOUT"] || "2000"));
const bonobWithNoContextPath = url("http://localhost:1234");
const bonobWithContextPath = url("http://localhost:5678/some-context-path");