Commit 7bc0870
committed
fix(test): use hrtime for unique test directories
Replace Date.now() with process.hrtime.bigint() for higher precision
timestamps. Tests were failing because Date.now() has millisecond precision,
causing tests running in quick succession to share the same directory name.1 parent 66eb281 commit 7bc0870
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | | - | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
0 commit comments