From 9b4717a066729d0ff0de44b451469346ea522f1e Mon Sep 17 00:00:00 2001 From: "Karol C. Gancarz" Date: Fri, 15 Dec 2023 19:34:52 +0000 Subject: [PATCH] BAU: Fix jest config error Fix the error "Can't find a root directory while resolving a config file path." when running an individual test rather than the whole suite. --- integration-tests/tests/aws/jest.config.ts | 1 + integration-tests/tests/mocked/jest.config.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/integration-tests/tests/aws/jest.config.ts b/integration-tests/tests/aws/jest.config.ts index 34a2eaac..73795148 100644 --- a/integration-tests/tests/aws/jest.config.ts +++ b/integration-tests/tests/aws/jest.config.ts @@ -3,5 +3,6 @@ import baseConfig from "../../jest.config"; export default { ...baseConfig, + projects: [], displayName: "integration-tests/aws", } satisfies Config; diff --git a/integration-tests/tests/mocked/jest.config.ts b/integration-tests/tests/mocked/jest.config.ts index a5504216..36753ea6 100644 --- a/integration-tests/tests/mocked/jest.config.ts +++ b/integration-tests/tests/mocked/jest.config.ts @@ -3,6 +3,7 @@ import baseConfig from "../../jest.config"; export default { ...baseConfig, + projects: [], testTimeout: 30_000, displayName: "integration-tests/mocked", } satisfies Config;