Skip to content

Commit

Permalink
test: Use VITEST_POOL_ID instead of VITEST_WORKER_ID
Browse files Browse the repository at this point in the history
Signed-off-by: Naoki Ikeguchi <[email protected]>
  • Loading branch information
siketyan committed Nov 13, 2024
1 parent 7769515 commit 846bbb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/happy-css-modules/src/test-util/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { sleepSync } from '../util.js';
export const FIXTURE_DIR_PATH = resolve(
realpathSync(tmpdir()),
'happy-css-modules/fixtures',
process.env['VITEST_WORKER_ID']!,
process.env['VITEST_POOL_ID']!,
);

export function createRoot(code: string, from?: string): Root {
Expand Down

0 comments on commit 846bbb8

Please sign in to comment.