forked from jestjs/jest
/
summary_reporter.test.js.snap
61 lines (53 loc) · 2.88 KB
/
summary_reporter.test.js.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`snapshots all have results (after update) 1`] = `
"<bold>Snapshot Summary</>
<bold><green> › 1 snapshot written </></>from 1 test suite.
<bold><red> › 1 snapshot failed</></> from 1 test suite. <dim>Inspect your code changes or run \`yarn test -u\` to update them.</>
<bold><green> › 1 snapshot updated </></>from 1 test suite.
<bold><green> › 1 snapshot file removed </></>from 1 test suite.
<bold><green> › 1 snapshot removed </></>from 1 test suite.
↳ <dim>../path/to/</><bold>suite_one</>
• unchecked snapshot 1
<bold>Test Suites: </><bold><red>1 failed</></>, 1 total
<bold>Tests: </><bold><red>1 failed</></>, 1 total
<bold>Snapshots: </><bold><red>1 failed</></>, <bold><green>1 removed</></>, <bold><green>1 file removed</></>, <bold><green>1 updated</></>, <bold><green>1 written</></>, <bold><green>2 passed</></>, 2 total
<bold>Time:</> 0.01 s
<dim>Ran all test suites</><dim>.</>
"
`;
exports[`snapshots all have results (no update) 1`] = `
"<bold>Snapshot Summary</>
<bold><green> › 1 snapshot written </></>from 1 test suite.
<bold><red> › 1 snapshot failed</></> from 1 test suite. <dim>Inspect your code changes or run \`yarn test -u\` to update them.</>
<bold><green> › 1 snapshot updated </></>from 1 test suite.
<bold><yellow> › 1 snapshot file obsolete </></>from 1 test suite. <dim>To remove it, run \`yarn test -u\`.</>
<bold><yellow> › 1 snapshot obsolete </></>from 1 test suite. <dim>To remove it, run \`yarn test -u\`.</>
↳ <dim>../path/to/</><bold>suite_one</>
• unchecked snapshot 1
<bold>Test Suites: </><bold><red>1 failed</></>, 1 total
<bold>Tests: </><bold><red>1 failed</></>, 1 total
<bold>Snapshots: </><bold><red>1 failed</></>, <bold><yellow>1 obsolete</></>, <bold><yellow>1 file obsolete</></>, <bold><green>1 updated</></>, <bold><green>1 written</></>, <bold><green>2 passed</></>, 2 total
<bold>Time:</> 0.01 s
<dim>Ran all test suites</><dim>.</>
"
`;
exports[`snapshots needs update with npm test 1`] = `
"<bold>Snapshot Summary</>
<bold><red> › 2 snapshots failed</></> from 1 test suite. <dim>Inspect your code changes or run \`npm test -- -u\` to update them.</>
<bold>Test Suites: </><bold><red>1 failed</></>, 1 total
<bold>Tests: </><bold><red>1 failed</></>, 1 total
<bold>Snapshots: </><bold><red>2 failed</></>, 2 total
<bold>Time:</> 0.01 s
<dim>Ran all test suites</><dim>.</>
"
`;
exports[`snapshots needs update with yarn test 1`] = `
"<bold>Snapshot Summary</>
<bold><red> › 2 snapshots failed</></> from 1 test suite. <dim>Inspect your code changes or run \`yarn test -u\` to update them.</>
<bold>Test Suites: </><bold><red>1 failed</></>, 1 total
<bold>Tests: </><bold><red>1 failed</></>, 1 total
<bold>Snapshots: </><bold><red>2 failed</></>, 2 total
<bold>Time:</> 0.01 s
<dim>Ran all test suites</><dim>.</>
"
`;