test: remove invalid test and avoid jest pick up tests from emsdk folder.

This commit is contained in:
鲁树人
2022-11-26 19:21:30 +00:00
parent b1d97ea85c
commit 76b2676f38
2 changed files with 7 additions and 28 deletions

View File

@@ -1,8 +1,7 @@
module.exports = {
setupFilesAfterEnv: [
'./src/__test__/setup_jest.js'
],
moduleNameMapper: {
'@/(.*)': '<rootDir>/src/$1'
}
};
module.exports = {
testPathIgnorePatterns: ['/build/', '/dist/', '/node_modules/'],
setupFilesAfterEnv: ['./src/__test__/setup_jest.js'],
moduleNameMapper: {
'@/(.*)': '<rootDir>/src/$1',
},
};