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