corporate-frontend-mithril
Version:
Corporate frontend MithrilJS modules
19 lines (18 loc) • 535 B
JavaScript
const { defaults } = require('jest-config');
module.exports = {
testEnvironment: 'node',
// Exit the test suite immediately upon the first failing test suite
bail: true,
// Each individual test should be reported during the run
verbose: true,
moduleFileExtensions: [...defaults.moduleFileExtensions, 'js', 'json'],
setupFilesAfterEnv: [
'jest-extended',
],
testPathIgnorePatterns: [
'/node_modules/',
],
testMatch: [
'<rootDir>/src/**/?(*.)+(test).js?(x)',
],
};