Skip to content

Commit d0a9f47

Browse files
committed
refactor: Replace tsx with tsimp
This is to evaluate whether flaky windows tests would stabilize with tsimp
1 parent 156a02c commit d0a9f47

File tree

3 files changed

+98
-487
lines changed

3 files changed

+98
-487
lines changed

ava.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
let tsimp = "tsimp/import";
2+
// In Node versions prior to v20.6, we must use "tsimp/loader"
3+
// tsimp = "tsimp/loader"" // TODO
14
const nodeArguments = [
2-
"--import=tsx/esm",
5+
`--import=${tsimp}`,
36
"--no-warnings=ExperimentalWarning",
47
];
58

0 commit comments

Comments
 (0)