mirror of https://gitee.com/cf-fz/WebCAD.git
# Conflicts: # __test__/Geometry/orbit.test.ts # src/DatabaseServices/EntityData.ts # wallaby.conf.jspull/7/head
commit
8818b5e4d2
@ -0,0 +1,33 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`测试求向量 1`] = `
|
||||
Vector3 {
|
||||
"x": 0,
|
||||
"y": -1,
|
||||
"z": 0,
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`测试求向量 2`] = `
|
||||
Vector3 {
|
||||
"x": 0,
|
||||
"y": -1,
|
||||
"z": 0,
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`测试求向量 3`] = `
|
||||
Vector3 {
|
||||
"x": 0,
|
||||
"y": 1,
|
||||
"z": 0,
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`测试求向量 4`] = `
|
||||
Vector3 {
|
||||
"x": 0.7071067811865475,
|
||||
"y": 0,
|
||||
"z": 0.7071067811865475,
|
||||
}
|
||||
`;
|
@ -1,18 +1,28 @@
|
||||
module.exports = function () {
|
||||
|
||||
return {
|
||||
files: [
|
||||
module.exports = function (wallaby) {
|
||||
return {
|
||||
files: [
|
||||
'tsconfig.json', // <--
|
||||
'src/**/*.ts',
|
||||
'src/**/*.js'],
|
||||
|
||||
tests: ['__test__/**/*.ts'],
|
||||
'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'
|
||||
},
|
||||
env: {
|
||||
type: 'node',
|
||||
runner: 'node'
|
||||
},
|
||||
|
||||
testFramework: 'jest',
|
||||
testFramework: 'jest',
|
||||
|
||||
debug: true
|
||||
};
|
||||
};
|
||||
};
|
Loading…
Reference in new issue