Get all platform unit tests to run
This commit is contained in:
1 parent
5544c57c37
commit
b8baae7c25
14 files changed
+114
-137
No files matched your search
@@ -1,13 +1,13 @@
|
||||
const base = require('../../jest.config.base.js');
|
||||
const pkg = require('./package');
|
||||
|
||||
module.exports = {
|
||||
verbose: true,
|
||||
testPathIgnorePatterns: ["<rootDir>/node_modules/"],
|
||||
testMatch: ["<rootDir>/src/**/*.test.js"],
|
||||
//
|
||||
collectCoverage: false,
|
||||
collectCoverageFrom: [
|
||||
"**/*.{js,jsx}",
|
||||
"!**/node_modules/**",
|
||||
"!<rootDir>/dist/**"
|
||||
],
|
||||
reporters: ["default", "jest-junit"]
|
||||
...base,
|
||||
name: pkg.name,
|
||||
displayName: pkg.name,
|
||||
// rootDir: "../.."
|
||||
// testMatch: [
|
||||
// //`<rootDir>/platform/${pack.name}/**/*.spec.js`
|
||||
// "<rootDir>/platform/viewer/**/*.test.js"
|
||||
// ]
|
||||
};
|
||||
Reference in new issue
Block a user