// 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: [ '/platform/*/jest.config.js', '/extensions/*/jest.config.js', //'/modes/*/jest.config.js' // Enable if any mode definitions start including tests ], coverageDirectory: '/coverage/', };