Skip to content

Commit

Permalink
always set TEST_ROOT
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Nov 8, 2023
1 parent 07475ef commit c0159ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test-storybook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ const main = async () => {
);
}

process.env.TEST_ROOT = process.cwd();

if (runnerOptions.indexJson || shouldRunIndexJson) {
indexTmpDir = await getIndexTempDir(targetURL);
process.env.TEST_ROOT = indexTmpDir;
Expand Down

0 comments on commit c0159ff

Please sign in to comment.