Skip to content

Commit

Permalink
fix: change rootTestDir
Browse files Browse the repository at this point in the history
  • Loading branch information
0618 committed Jan 3, 2024
1 parent c4be31e commit 2be6ae7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/integration-tests/src/setup_test_directory.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { existsSync } from 'fs';
import fs from 'fs/promises';
import { fileURLToPath } from 'url';
import * as os from 'os';

/**
* Root test directory.
*/
export const rootTestDir = fileURLToPath(
new URL('./e2e-tests', import.meta.url)
new URL(`${os.tmpdir()}/e2e-tests`, import.meta.url)
);

/**
Expand Down

0 comments on commit 2be6ae7

Please sign in to comment.