diff --git a/ava.config.js b/ava.config.js index 4b70149..ed6ec5d 100644 --- a/ava.config.js +++ b/ava.config.js @@ -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'] } }