forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconsole.test.ts.snap
More file actions
77 lines (61 loc) · 1.94 KB
/
console.test.ts.snap
File metadata and controls
77 lines (61 loc) · 1.94 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
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
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`console printing 1`] = `
PASS __tests__/console.test.js
● Console
console.log __tests__/console.test.js:10
This is a log message.
console.info __tests__/console.test.js:12
This is an info message.
console.warn __tests__/console.test.js:14
This is a warning message.
console.error __tests__/console.test.js:16
This is an error message.
`;
exports[`console printing 2`] = `
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
`;
exports[`console printing with --verbose 1`] = `
console.log __tests__/console.test.js:10
This is a log message.
console.info __tests__/console.test.js:12
This is an info message.
console.warn __tests__/console.test.js:14
This is a warning message.
console.error __tests__/console.test.js:16
This is an error message.
`;
exports[`console printing with --verbose 2`] = `
PASS __tests__/console.test.js
✓ works just fine
`;
exports[`console printing with --verbose 3`] = `
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
`;
exports[`does not print to console with --silent 1`] = ``;
exports[`does not print to console with --silent 2`] = `PASS __tests__/console.test.js`;
exports[`does not print to console with --silent 3`] = `
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: <<REPLACED>>
`;
exports[`the jsdom console is the same as the test console 1`] = ``;
exports[`the jsdom console is the same as the test console 2`] = `
PASS __tests__/console.test.js
✓ can mock console.error calls from jsdom
`;
exports[`the jsdom console is the same as the test console 3`] = `
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites.
`;