Files
directus/jest.config.js
Rijk van Zanten ad459aa53a Test config (#122)
* Automatically reset / clear mocks between tests

* Fix test for private view

* Fix tooltip test

* Fix router tests

* Fix all other tests
2020-02-27 10:31:47 -05:00

9 lines
273 B
JavaScript

module.exports = {
preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel',
testMatch: ['**/?(*.)+(spec|test).[jt]s?(x)'],
coveragePathIgnorePatterns: ['<rootDir>/node_modules/', '<rootDir>/.jest/'],
restoreMocks: true,
clearMocks: true,
resetMocks: true
};