From 29f7bc42dd3f63f4180f8182d4e448ac544d2a6b Mon Sep 17 00:00:00 2001 From: Jan Starzak Date: Wed, 12 Apr 2023 21:20:04 +0200 Subject: [PATCH] chore: add longer timeout for issues.spec.ts --- tests/internal-tests/src/__tests__/issues.spec.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/internal-tests/src/__tests__/issues.spec.ts b/tests/internal-tests/src/__tests__/issues.spec.ts index cd3cbf1b..bfd964a2 100644 --- a/tests/internal-tests/src/__tests__/issues.spec.ts +++ b/tests/internal-tests/src/__tests__/issues.spec.ts @@ -20,6 +20,9 @@ const fsStat = promisify(fs.stat) // const fsStat = promisify(fs.stat) +// this test can be a bit slower in CI sometimes +jest.setTimeout(10000) + describe('Handle unhappy paths', () => { let env: TestEnviromnent @@ -40,7 +43,7 @@ describe('Handle unhappy paths', () => { env.reset() }) - test.only('Wait for non-existing local file', async () => { + test('Wait for non-existing local file', async () => { fs.__mockSetDirectory('/sources/source0/') fs.__mockSetDirectory('/targets/target0') addCopyFileExpectation(