From b97b5995478d2e2cd92d9713f616f37e476d1ae9 Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Tue, 8 Aug 2023 17:02:12 +0200 Subject: [PATCH] Merge pull request #23755 from storybookjs/kasper/ci-flake Build: Fix CI flakiness by setting TEST_ROOT for the test runner (cherry picked from commit f50c26f529e9a726289cc0e792e559f258eb0aeb) --- scripts/tasks/test-runner-build.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/tasks/test-runner-build.ts b/scripts/tasks/test-runner-build.ts index e25b2fa54906..546bb6c5aa38 100644 --- a/scripts/tasks/test-runner-build.ts +++ b/scripts/tasks/test-runner-build.ts @@ -25,6 +25,7 @@ export const testRunnerBuild: Task & { port: number } = { ...execOptions, env: { JEST_JUNIT_OUTPUT_FILE: junitFilename, + TEST_ROOT: sandboxDir, }, }, { dryRun, debug }