Skip to content

Commit 2d54c24

Browse files
committed
add snapshot tests
1 parent 226698f commit 2d54c24

File tree

4 files changed

+46
-6
lines changed

4 files changed

+46
-6
lines changed

packages/errors/__snapshot-html__/EXPERIMENTAL_RUN_ALL_SPECS_E2E_ONLY.html

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

packages/errors/__snapshot-html__/EXPERIMENTAL_STUDIO_REMOVED.html

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

packages/errors/src/errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ export const AllCypressErrors = {
12271227
},
12281228
EXPERIMENTAL_STUDIO_REMOVED: () => {
12291229
return errTemplate`\
1230-
The ${fmt.highlight(`experimentalStudio`)} was removed in ${fmt.cypressVersion(`13.0.0`)}.
1230+
The ${fmt.highlight(`experimentalStudio`)} was removed in ${fmt.cypressVersion(`15.4.0`)}.
12311231
12321232
You can safely remove this option from your config.`
12331233
},

packages/errors/test/unit/visualSnapshotErrors_spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ describe('visual error templates', () => {
12411241
}
12421242
},
12431243

1244-
EXPERIMENTAL_STUDIO_E2E_ONLY: () => {
1244+
EXPERIMENTAL_STUDIO_REMOVED: () => {
12451245
return {
12461246
default: [],
12471247
}

0 commit comments

Comments
 (0)