1
0
mirror of synced 2024-11-22 13:26:06 +03:00

Sets node target to version 9

This commit is contained in:
Justin Schroeder 2019-11-01 16:21:16 -04:00
parent 616676d451
commit 2db5754c6f
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ module.exports = {
presets: [ presets: [
[ '@babel/preset-env', { [ '@babel/preset-env', {
targets: { targets: {
node: 'current' node: '9'
} }
} ] } ]
] ]

View File

@ -11,7 +11,7 @@ module.exports = {
'^@/(.*)$': '<rootDir>/src/$1' '^@/(.*)$': '<rootDir>/src/$1'
}, },
transform: { transform: {
// '.*\\.js$': '<rootDir>/node_modules/babel-jest', '.*\\.js$': '<rootDir>/node_modules/babel-jest',
'.*\\.(vue)$': '<rootDir>/node_modules/jest-vue-preprocessor' '.*\\.(vue)$': '<rootDir>/node_modules/jest-vue-preprocessor'
}, },
collectCoverageFrom: [ collectCoverageFrom: [