Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit 9f799be

Browse files
authored
upgrade happo-cypress to v1 (#297)
* upgrade happo-cypress to v1 * update test command
1 parent 952b6c9 commit 9f799be

File tree

4 files changed

+17
-16
lines changed

4 files changed

+17
-16
lines changed

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ workflows:
248248
verify-command: echo 'Already verified'
249249
no-workspace: true
250250
working_directory: examples/visual-testing-with-happo
251-
command: npm test
251+
command: npm run test:happo
252252
store_artifacts: true
253253

254254
- cypress/run:

examples/visual-testing-with-happo/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"private": true,
55
"scripts": {
66
"test": "../../node_modules/.bin/cypress run",
7-
"cy:open": "../../node_modules/.bin/cypress open"
7+
"cy:open": "../../node_modules/.bin/cypress open",
8+
"test:happo": "../../node_modules/.bin/happo-cypress -- npm test"
89
},
910
"devDependencies": {
1011
"cypress-react-unit-test": "file:../.."

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@
7878
"cypress-plugin-snapshots": "1.4.3",
7979
"cypress-react-selector": "1.0.2",
8080
"date-fns": "2.13.0",
81-
"happo-cypress": "0.2.0",
82-
"happo.io": "5.4.0",
81+
"happo-cypress": "1.4.1",
82+
"happo.io": "5.6.1",
8383
"husky": "3.1.0",
8484
"lint-staged": "9.5.0",
8585
"lodash": "4.17.15",

0 commit comments

Comments
 (0)