Get all platform unit tests to run

This commit is contained in:
dannyrb committed 2019-07-17 14:57:50 -04:00
1 parent 5544c57c37
commit b8baae7c25
14 files changed
+114 -137

No files matched your search

+11 -11
View File
@@ -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"
// ]
};