forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwatchModeUpdateSnapshot.test.ts.snap
More file actions
47 lines (41 loc) · 1.24 KB
/
watchModeUpdateSnapshot.test.ts.snap
File metadata and controls
47 lines (41 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`can press "u" to update snapshots: test results 1`] = `
FAIL __tests__/bar.spec.js
✕ bar
● bar
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "bar 1".
- Snapshot
+ Received
- "foo"
+ "bar"
1 |
> 2 | test('bar', () => { expect('bar').toMatchSnapshot(); });
| ^
3 |
at Object.toMatchSnapshot (__tests__/bar.spec.js:2:41)
› 1 snapshot failed.
Snapshot Summary
› 1 snapshot failed from 1 test suite. Inspect your code changes or press \`u\` to update them.
`;
exports[`can press "u" to update snapshots: test results 2`] = `
PASS __tests__/bar.spec.js
✓ bar
› 1 snapshot updated.
Snapshot Summary
› 1 snapshot updated from 1 test suite.
`;
exports[`can press "u" to update snapshots: test summary 1`] = `
Test Suites: 1 failed, 1 total
Tests: 1 failed, 1 total
Snapshots: 1 failed, 1 total
Time: <<REPLACED>>
Ran all test suites.
`;
exports[`can press "u" to update snapshots: test summary 2`] = `
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 1 updated, 1 total
Time: <<REPLACED>>
Ran all test suites.
`;