forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
watchModeUpdateSnapshot.test.ts.snap
45 lines (39 loc) · 1.2 KB
/
watchModeUpdateSnapshot.test.ts.snap
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
// 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(received).toMatchSnapshot()
Snapshot name: \`bar 1\`
Snapshot: "foo"
Received: "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.
`;