Skip to content

Commit

Permalink
Fix loader args for AVA
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Nov 2, 2023
1 parent c812440 commit 6b81aad
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions ava.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@ export default () => {
return {
ignoredByWatcher: ['tmp/**/*'],
files: ['**/*.test.ts', '!package/**/*'],
environmentVariables: {
// UPSTREAM: https://nodejs.org/docs/latest-v18.x/api/esm.html#loaders
NODE_NO_WARNINGS: '1'
},
extensions: {
ts: 'module'
ts: 'commonjs'
},
nodeArguments: ['--loader=tsx']
nodeArguments: ['--import=tsx']
}
}

0 comments on commit 6b81aad

Please sign in to comment.