mirror of https://gitee.com/cf-fz/WebCAD.git
parent
52fc8e18ae
commit
a28451e594
@ -0,0 +1,28 @@
|
||||
module.exports = function (wallaby) {
|
||||
return {
|
||||
files: [
|
||||
'tsconfig.json', // <--
|
||||
'src/**/*.ts*',
|
||||
'src/**/*.tsx*',
|
||||
'src/**/*.js*',
|
||||
],
|
||||
|
||||
tests: ['__test__/**/*.test.ts*'],
|
||||
|
||||
compilers: {
|
||||
'**/*.ts?(x)': wallaby.compilers.typeScript({
|
||||
module: 'commonjs',
|
||||
jsx: 'React'
|
||||
})
|
||||
},
|
||||
|
||||
env: {
|
||||
type: 'node',
|
||||
runner: 'node'
|
||||
},
|
||||
|
||||
testFramework: 'jest',
|
||||
|
||||
debug: true
|
||||
};
|
||||
};
|
Loading…
Reference in new issue