Skip to content

Commit 2dc4cab

Browse files
committed
fix(jest): remove updateSnapshot option from main script
1 parent a7efb80 commit 2dc4cab

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

packages/unit-jest/src/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ module.exports = function (api) {
8686
const scripts = {
8787
scripts: {
8888
test: 'echo "See package.json => scripts for available tests." && exit 0',
89-
'test:unit': 'jest --updateSnapshot',
89+
'test:unit': 'jest',
9090
'test:unit:ci': ciCommand,
9191
'test:unit:coverage': 'jest --coverage',
9292
'test:unit:watch': 'jest --watch',

test-project-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"test:component": "cross-env NODE_ENV=test cypress open --component",
3333
"test:component:ci": "cross-env NODE_ENV=test cypress run --component",
3434
"test:unit:ui": "majestic",
35-
"test:unit": "jest --updateSnapshot",
35+
"test:unit": "jest",
3636
"test:unit:ci": "jest --ci",
3737
"test:unit:coverage": "jest --coverage",
3838
"test:unit:watch": "jest --watch",

test-project-webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"format": "prettier --write \"**/*.{js,ts,vue,scss,html,md,json}\" --ignore-path .gitignore",
2929
"test": "echo \"See package.json => scripts for available tests.\" && exit 0",
3030
"test:unit:ui": "majestic",
31-
"test:unit": "jest --updateSnapshot",
31+
"test:unit": "jest",
3232
"test:unit:ci": "jest --ci",
3333
"test:unit:coverage": "jest --coverage",
3434
"test:unit:watch": "jest --watch",

test-project-webpack/yarn.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1919,14 +1919,14 @@
19191919
integrity sha512-p3JKgTjRlJ1YQXbqTw3Bsa4j0mQdt5dq+WfYvyb7MgKGdephHCKdR/kxA5PCTAmJanGJuDKqRdyGYX/hYN4KGw==
19201920

19211921
"@quasar/quasar-app-extension-testing-e2e-cypress@../packages/e2e-cypress":
1922-
version "5.0.0-beta.7"
1922+
version "5.0.0-beta.10"
19231923
dependencies:
19241924
"@cypress/code-coverage" "^3.10.0"
19251925
cross-env "^7.0.3"
19261926
lodash "^4.17.21"
19271927
nyc "^15.1.0"
19281928
start-server-and-test "^1.14.0"
1929-
vite-plugin-istanbul "^3.0.2"
1929+
vite-plugin-istanbul "^3.0.3"
19301930

19311931
"@quasar/quasar-app-extension-testing-unit-jest@../packages/unit-jest":
19321932
version "3.0.0-beta.5"
@@ -1942,7 +1942,7 @@
19421942
ts-jest "^29.0.3"
19431943

19441944
"@quasar/quasar-app-extension-testing@../packages/testing":
1945-
version "2.0.5"
1945+
version "2.0.6"
19461946
dependencies:
19471947
chalk "^4.1.1"
19481948
execa "^5.1.1"
@@ -9975,10 +9975,10 @@ verror@1.10.0:
99759975
core-util-is "1.0.2"
99769976
extsprintf "^1.2.0"
99779977

9978-
vite-plugin-istanbul@^3.0.2:
9979-
version "3.0.2"
9980-
resolved "https://registry.yarnpkg.com/vite-plugin-istanbul/-/vite-plugin-istanbul-3.0.2.tgz#abb01b337bbd3a20666d9d82d472688a99ba2796"
9981-
integrity sha512-eOKedaeciqJTLEAUo7mkMqXjjeAXGhHUYuiLLBUaBwj8AdO31uVOsZvKeVViRqHKyhi5YlarmGh8r7jJVlX0VQ==
9978+
vite-plugin-istanbul@^3.0.3:
9979+
version "3.0.4"
9980+
resolved "https://registry.yarnpkg.com/vite-plugin-istanbul/-/vite-plugin-istanbul-3.0.4.tgz#a8367e393fc51c9e071607de5bacf46ddcac698f"
9981+
integrity sha512-DJy3cq6yOFbsM3gLQf/3zeuaJNJsfBv5dLFdZdv8sUV30xLtZI+66QeYfHUyP/5vBUYyLA+xNUCSG5uHY6w+5g==
99829982
dependencies:
99839983
"@istanbuljs/load-nyc-config" "^1.1.0"
99849984
istanbul-lib-instrument "^5.1.0"

0 commit comments

Comments
 (0)