mirror of
https://github.com/directus/directus.git
synced 2026-02-11 12:34:55 -05:00
* Automatically reset / clear mocks between tests * Fix test for private view * Fix tooltip test * Fix router tests * Fix all other tests
9 lines
273 B
JavaScript
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
|
|
};
|