mirror of
https://github.com/strapi/strapi.git
synced 2025-07-23 09:00:19 +00:00
10 lines
455 B
JavaScript
10 lines
455 B
JavaScript
module.exports = {
|
|
rootDir: __dirname,
|
|
setupFilesAfterEnv: ['<rootDir>/test/unit.setup.js'],
|
|
modulePathIgnorePatterns: ['.cache'],
|
|
testMatch: ['/**/__tests__/**/*.[jt]s?(x)'],
|
|
// Use `jest-watch-typeahead` version 0.6.5. Newest version 1.0.0 does not support jest@26
|
|
// Reference: https://github.com/jest-community/jest-watch-typeahead/releases/tag/v1.0.0
|
|
watchPlugins: ['jest-watch-typeahead/filename', 'jest-watch-typeahead/testname'],
|
|
};
|