2019-09-15 22:49:40 -06:00
|
|
|
process.env.VUE_CLI_BABEL_TARGET_NODE = true;
|
|
|
|
process.env.VUE_CLI_BABEL_TRANSPILE_MODULES = true;
|
|
|
|
|
2019-07-08 07:32:03 -06:00
|
|
|
module.exports = {
|
2020-02-19 10:01:02 -07:00
|
|
|
preset: '@vue/cli-plugin-unit-jest',
|
2019-09-15 22:49:40 -06:00
|
|
|
coverageDirectory: '<rootDir>/tests/unit/coverage',
|
|
|
|
setupFilesAfterEnv: [
|
|
|
|
'<rootDir>/tests/unit/setup.js'
|
|
|
|
],
|
2019-07-08 07:32:03 -06:00
|
|
|
snapshotSerializers: [
|
2020-01-19 06:04:38 -07:00
|
|
|
'<rootDir>/node_modules/jest-serializer-vue-tjw'
|
2019-07-08 07:32:03 -06:00
|
|
|
],
|
|
|
|
testMatch: [
|
2019-09-15 22:49:40 -06:00
|
|
|
'**/tests/unit/**/*.test.js'
|
|
|
|
],
|
|
|
|
testPathIgnorePatterns: [
|
2020-07-16 11:33:30 -06:00
|
|
|
'<rootDir>/tests/e2e',
|
|
|
|
'<rootDir>/dist',
|
|
|
|
'<rootDir>/dist-vue'
|
2019-07-08 07:32:03 -06:00
|
|
|
]
|
|
|
|
};
|