Skip to content

Commit 787fbda

Browse files
authored
tests: update jest snapshot url (#3861)
This is not a cosmetic change because jest errors when run with `CI=true`. I got this error when running unit tests in gitlab: ```bash FAIL unit tests/unit/functions/updatenotification_spec.js ● Test suite failed to run Outdated guide link: The snapshot guide link is outdated.Please update all snapshots while upgrading of Jest Expected: https://jestjs.io/docs/snapshot-testing Received: https://goo.gl/fbAQLP at validateSnapshotHeader (node_modules/@jest/snapshot-utils/build/index.js:104:12) at getSnapshotData (node_modules/@jest/snapshot-utils/build/index.js:156:28) ``` If you run the test without `CI=true` jest will update the file.
1 parent 76da0aa commit 787fbda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Thanks to: @dathbe.
2626
- [tests] refactor: extract constants for weather electron tests (#3845)
2727
- [tests] refactor: add `setupDOMEnvironment` helper function to eliminate repetitive JSDOM setup code (#3860)
2828
- [tests] replace `console` with `Log` in calendar `debug.js` to avoid exception in eslint config (#3846)
29-
- [tests] speed up e2e tests, cleanup and stabilize weather e2e tests (#3847, #3848)
29+
- [tests] speed up e2e tests, cleanup and stabilize weather e2e tests, update snapshot url (#3847, #3848, #3861)
3030

3131
### Updated
3232

tests/unit/functions/__snapshots__/updatenotification_spec.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`Updatenotification custom module returns status information without hash 1`] = `
44
{

0 commit comments

Comments
 (0)