Skip to content

Commit 14f8ada

Browse files
committed
Update ava.config.js for Node v20
1 parent 48a3341 commit 14f8ada

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

ava.config.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,9 @@ export default () => {
22
return {
33
ignoredByWatcher: ['tmp/**/*'],
44
files: ['**/*.test.ts', '!package/**/*'],
5-
environmentVariables: {
6-
// UPSTREAM: https://nodejs.org/docs/latest-v18.x/api/esm.html#loaders
7-
NODE_NO_WARNINGS: '1',
8-
},
95
extensions: {
10-
ts: 'module',
6+
ts: 'commonjs'
117
},
12-
nodeArguments: ['--loader=tsx'],
8+
nodeArguments: ['--import=tsx']
139
}
1410
}

0 commit comments

Comments
 (0)