@@ -46,14 +46,14 @@ jobs:
46
46
command : cd build_path && npm run test:jest
47
47
- store_artifacts :
48
48
path : ~/project/build_path/jest/snapshots/diff_output
49
- # destination: jest/diff_output
49
+ destination : jest/snapshots /diff_output
50
50
- run :
51
51
name : Update image snapshots when tests fails
52
52
command : cd build_path && npm run test:jest:update
53
53
when : on_fail
54
54
- store_artifacts :
55
55
path : ~/project/build_path/jest/snapshots/current_output
56
- # destination: jest/image_snapshots
56
+ destination : jest/snapshots/current_output
57
57
cypress :
58
58
docker :
59
59
- image : circleci/node:12.16.1-browsers
@@ -78,17 +78,17 @@ jobs:
78
78
command : cd build_path && npm run test:cypress:run
79
79
- store_artifacts :
80
80
path : ~/project/build_path/cypress/screenshots
81
- # destination: cypress/screenshots
81
+ destination : cypress/screenshots
82
82
- store_artifacts :
83
83
path : ~/project/build_path/cypress/snapshots/diff_output
84
- # destination: cypress/diff_output
84
+ destination : cypress/snapshots /diff_output
85
85
- run :
86
86
name : Update image snapshots when tests fails
87
87
command : cd build_path && npm run test:cypress:run:update
88
88
when : on_fail
89
89
- store_artifacts :
90
90
path : ~/project/build_path/cypress/snapshots/current_output
91
- # destination: cypress/image_snapshots
91
+ destination : cypress/snapshots/current_output
92
92
93
93
workflows :
94
94
version : 2
0 commit comments