ohif-viewer/jest.config.js
2019-07-17 14:57:50 -04:00

17 lines
544 B
JavaScript

// Initiate all tests from root, but allow tests from each package root.
// Share as much config as possible to reduce duplication.
//
// Borrowing from here:
// https://github.com/facebook/jest/issues/3112#issuecomment-398581705
const base = require("./jest.config.base.js");
module.exports = {
...base,
// https://jestjs.io/docs/en/configuration#projects-array-string-projectconfig
projects: [
// "<rootDir>/extensions/*/jest.config.js",
"<rootDir>/platform/*/jest.config.js"
],
coverageDirectory: "<rootDir>/coverage/"
};