VueTorrent/jest.config.js

9 lines
216 B
JavaScript
Raw Normal View History

2021-01-27 13:24:23 +01:00
module.exports = {
preset: '@vue/cli-plugin-unit-jest',
moduleFileExtensions: ['js', 'json', 'vue'],
transform: {
2022-04-16 11:11:18 +02:00
'.*\\.(vue)$': '@vue/vue2-jest',
2021-01-27 13:24:23 +01:00
'^.+\\.js$': '<rootDir>/node_modules/babel-jest'
}
}