mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 00:28:33 +00:00
fix: ava ts loader
This commit is contained in:
@@ -2,6 +2,12 @@ import packageJson from '../package.json' with { type: 'json' };
|
||||
|
||||
export default {
|
||||
...packageJson.ava,
|
||||
nodeArguments: [
|
||||
'--trace-sigint',
|
||||
'--loader',
|
||||
'ts-node/esm/transpile-only.mjs',
|
||||
'--es-module-specifier-resolution=node',
|
||||
],
|
||||
environmentVariables: {
|
||||
...packageJson.ava.environmentVariables,
|
||||
TS_NODE_PROJECT: './tests/tsconfig.docker.json',
|
||||
|
||||
Reference in New Issue
Block a user