From e32abe6880311e6b03a9bfe53e74ee7fb53270e9 Mon Sep 17 00:00:00 2001 From: Stanislav Termosa Date: Sun, 25 Feb 2018 22:37:35 +0200 Subject: [PATCH 1/2] Remove mapCoverage as it is deprecated mapCoverage has been deprecated since Jest@22.4.0 https://github.com/facebook/jest/blob/master/CHANGELOG.md#2240 https://github.com/facebook/jest/pull/5177 --- template/test/unit/jest.conf.js | 1 - 1 file changed, 1 deletion(-) diff --git a/template/test/unit/jest.conf.js b/template/test/unit/jest.conf.js index c524e9d7bd..51e27dc417 100644 --- a/template/test/unit/jest.conf.js +++ b/template/test/unit/jest.conf.js @@ -19,7 +19,6 @@ module.exports = { ],{{/e2e}} snapshotSerializers: ['/node_modules/jest-serializer-vue'], setupFiles: ['/test/unit/setup'], - mapCoverage: true, coverageDirectory: '/test/unit/coverage', collectCoverageFrom: [ 'src/**/*.{js,vue}', From f10908187e9ef4d7540cc39c9827b82b6c84c413 Mon Sep 17 00:00:00 2001 From: Stanislav Termosa Date: Thu, 1 Mar 2018 18:28:41 +0200 Subject: [PATCH 2/2] Bump version of Jest to 22.4.2 --- template/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/package.json b/template/package.json index 207322b98c..a18991f2c5 100644 --- a/template/package.json +++ b/template/package.json @@ -52,7 +52,7 @@ "babel-jest": "^21.0.2", "babel-plugin-dynamic-import-node": "^1.2.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", - "jest": "^22.0.4", + "jest": "^22.4.2", "jest-serializer-vue": "^0.3.0", "vue-jest": "^1.0.2", {{/if_eq}}