-
Notifications
You must be signed in to change notification settings - Fork 4k
/
index.test.js.snap
97 lines (73 loc) · 3.5 KB
/
index.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
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
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`jest-console console.error toHaveErrored works when not called 1`] = `
"[2mexpect([22m[31mjest.fn()[39m[2m).toHaveErrored([22m[32mexpected[39m[2m)[22m
Expected mock function to be called."
`;
exports[`jest-console console.error toHaveErroredWith works when not called 1`] = `
"[2mexpect([22m[31mjest.fn()[39m[2m).toHaveErroredWith([22m[32mexpected[39m[2m)[22m
Expected mock function to be called with:
[32m[\\"This is error!\\"][39m
but it was called with:
"
`;
exports[`jest-console console.error toHaveErroredWith works with many arguments that do not match 1`] = `
"[2mexpect([22m[31mjest.fn()[39m[2m).toHaveErroredWith([22m[32mexpected[39m[2m)[22m
Expected mock function to be called with:
[32m[\\"This is error!\\"][39m
but it was called with:
[31m[\\"Unknown message.\\"][39m,[31m[\\"This is error!\\", \\"Unknown param.\\"][39m"
`;
exports[`jest-console console.info toHaveInformed works when not called 1`] = `
"[2mexpect([22m[31mjest.fn()[39m[2m).toHaveInformed([22m[32mexpected[39m[2m)[22m
Expected mock function to be called."
`;
exports[`jest-console console.info toHaveInformedWith works when not called 1`] = `
"[2mexpect([22m[31mjest.fn()[39m[2m).toHaveInformedWith([22m[32mexpected[39m[2m)[22m
Expected mock function to be called with:
[32m[\\"This is info!\\"][39m
but it was called with:
"
`;
exports[`jest-console console.info toHaveInformedWith works with many arguments that do not match 1`] = `
"[2mexpect([22m[31mjest.fn()[39m[2m).toHaveInformedWith([22m[32mexpected[39m[2m)[22m
Expected mock function to be called with:
[32m[\\"This is info!\\"][39m
but it was called with:
[31m[\\"Unknown message.\\"][39m,[31m[\\"This is info!\\", \\"Unknown param.\\"][39m"
`;
exports[`jest-console console.log toHaveLogged works when not called 1`] = `
"[2mexpect([22m[31mjest.fn()[39m[2m).toHaveLogged([22m[32mexpected[39m[2m)[22m
Expected mock function to be called."
`;
exports[`jest-console console.log toHaveLoggedWith works when not called 1`] = `
"[2mexpect([22m[31mjest.fn()[39m[2m).toHaveLoggedWith([22m[32mexpected[39m[2m)[22m
Expected mock function to be called with:
[32m[\\"This is log!\\"][39m
but it was called with:
"
`;
exports[`jest-console console.log toHaveLoggedWith works with many arguments that do not match 1`] = `
"[2mexpect([22m[31mjest.fn()[39m[2m).toHaveLoggedWith([22m[32mexpected[39m[2m)[22m
Expected mock function to be called with:
[32m[\\"This is log!\\"][39m
but it was called with:
[31m[\\"Unknown message.\\"][39m,[31m[\\"This is log!\\", \\"Unknown param.\\"][39m"
`;
exports[`jest-console console.warn toHaveWarned works when not called 1`] = `
"[2mexpect([22m[31mjest.fn()[39m[2m).toHaveWarned([22m[32mexpected[39m[2m)[22m
Expected mock function to be called."
`;
exports[`jest-console console.warn toHaveWarnedWith works when not called 1`] = `
"[2mexpect([22m[31mjest.fn()[39m[2m).toHaveWarnedWith([22m[32mexpected[39m[2m)[22m
Expected mock function to be called with:
[32m[\\"This is warn!\\"][39m
but it was called with:
"
`;
exports[`jest-console console.warn toHaveWarnedWith works with many arguments that do not match 1`] = `
"[2mexpect([22m[31mjest.fn()[39m[2m).toHaveWarnedWith([22m[32mexpected[39m[2m)[22m
Expected mock function to be called with:
[32m[\\"This is warn!\\"][39m
but it was called with:
[31m[\\"Unknown message.\\"][39m,[31m[\\"This is warn!\\", \\"Unknown param.\\"][39m"
`;