Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7052dad

Browse files
committed
Replace vue-jest with vue2-jest for Jest 27
1 parent 51b3c1b commit 7052dad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = merge(config, {
1111
collectCoverageFrom: ['**/src/**/*.js', '!**/src/__tests__/**'],
1212
transform: {
1313
'^.+\\.js$': '<rootDir>/node_modules/babel-jest',
14-
'.*\\.(vue)$': '<rootDir>/node_modules/vue-jest',
14+
'.*\\.(vue)$': '<rootDir>/node_modules/@vue/vue2-jest',
1515
},
1616
snapshotSerializers: ['<rootDir>/node_modules/jest-serializer-vue'],
1717
testPathIgnorePatterns: [

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"@testing-library/jest-dom": "^5.11.6",
5353
"@testing-library/user-event": "^12.1.10",
5454
"@types/estree": "0.0.46",
55+
"@vue/vue2-jest": "^27.0.0-alpha.2",
5556
"apollo-boost": "^0.4.9",
5657
"apollo-cache-inmemory": "^1.6.6",
5758
"axios": "^0.21.1",
@@ -71,7 +72,6 @@
7172
"vue": "^2.6.12",
7273
"vue-apollo": "^3.0.4",
7374
"vue-i18n": "^8.21.1",
74-
"vue-jest": "^4.0.0-rc.0",
7575
"vue-router": "^3.4.9",
7676
"vue-template-compiler": "^2.6.12",
7777
"vuetify": "^2.3.17",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /