/
watchModePatterns.test.ts.snap
124 lines (110 loc) · 2.7 KB
/
watchModePatterns.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`can press "p" to filter by file name 1`] = `
"<hideCursor>
<clearTerminal>
Pattern Mode Usage
› Press Esc to exit pattern mode.
› Press Enter to filter by a filenames regex pattern.
<showCursor>
<eraseLine>
<moveCursorToColumn1>
<eraseScreenDown>
pattern ›
<saveCursorPosition>
<moveCursorToRow6Column12>
<restoreCursorPosition>
<eraseLine>
<moveCursorToColumn1>
<eraseScreenDown>
pattern › b
<saveCursorPosition>
<moveCursorToRow6Column13>
<restoreCursorPosition>
<eraseLine>
<moveCursorToColumn1>
<eraseScreenDown>
pattern › ba
<saveCursorPosition>
<moveCursorToRow6Column14>
<restoreCursorPosition>
<eraseLine>
<moveCursorToColumn1>
<eraseScreenDown>
pattern › bar
<saveCursorPosition>
<moveCursorToRow6Column15>
<restoreCursorPosition>
<moveCursorDownBy1Row>
<eraseScreenDown>
"
`;
exports[`can press "p" to filter by file name: test results 1`] = `
"PASS __tests__/bar.spec.js
PASS __tests__/foo.spec.js"
`;
exports[`can press "p" to filter by file name: test results 2`] = `
"PASS __tests__/bar.spec.js
✓ bar 1
✓ bar 2"
`;
exports[`can press "p" to filter by file name: test summary 1`] = `
"Test Suites: 2 passed, 2 total
Tests: 4 passed, 4 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites."
`;
exports[`can press "p" to filter by file name: test summary 2`] = `
"Test Suites: 1 passed, 1 total
Tests: 2 passed, 2 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites matching /bar/i."
`;
exports[`can press "t" to filter by test name 1`] = `
"<hideCursor>
<clearTerminal>
Pattern Mode Usage
› Press Esc to exit pattern mode.
› Press Enter to filter by a tests regex pattern.
<showCursor>
<eraseLine>
<moveCursorToColumn1>
<eraseScreenDown>
pattern ›
<saveCursorPosition>
<moveCursorToRow6Column12>
<restoreCursorPosition>
<eraseLine>
<moveCursorToColumn1>
<eraseScreenDown>
pattern › 2
<saveCursorPosition>
<moveCursorToRow6Column13>
<restoreCursorPosition>
<moveCursorDownBy1Row>
<eraseScreenDown>
"
`;
exports[`can press "t" to filter by test name: test results 1`] = `
"PASS __tests__/bar.spec.js
PASS __tests__/foo.spec.js"
`;
exports[`can press "t" to filter by test name: test results 2`] = `
"PASS __tests__/bar.spec.js
PASS __tests__/foo.spec.js"
`;
exports[`can press "t" to filter by test name: test summary 1`] = `
"Test Suites: 2 passed, 2 total
Tests: 4 passed, 4 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites."
`;
exports[`can press "t" to filter by test name: test summary 2`] = `
"Test Suites: 2 passed, 2 total
Tests: 2 skipped, 2 passed, 4 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites with tests matching "2"."
`;