-
-
Notifications
You must be signed in to change notification settings - Fork 225
/
Copy pathtoContainValue.test.js.snap
64 lines (50 loc) · 2.37 KB
/
toContainValue.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
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`.not.toContainValue fails when given object contains array value 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).not.toContainValue(</intensity><green>expected</color><dim>)</intensity>
Expected object to not contain value:
<green>[{"hello": "world"}]</color>
Received:
<red>{"message": [{"hello": "world"}]}</color>"
`;
exports[`.not.toContainValue fails when given object contains object value 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).not.toContainValue(</intensity><green>expected</color><dim>)</intensity>
Expected object to not contain value:
<green>{"hello": "world"}</color>
Received:
<red>{"message": {"hello": "world"}}</color>"
`;
exports[`.not.toContainValue fails when given object contains primitive value 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).not.toContainValue(</intensity><green>expected</color><dim>)</intensity>
Expected object to not contain value:
<green>"world"</color>
Received:
<red>{"hello": "world"}</color>"
`;
exports[`.toContainValue fails when given object does not contain array value 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).toContainValue(</intensity><green>expected</color><dim>)</intensity>
Expected object to contain value:
<green>[{"world": "hello"}]</color>
Received:
<red>{"message": [{"hello": "world"}]}</color>"
`;
exports[`.toContainValue fails when given object does not contain object value 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).toContainValue(</intensity><green>expected</color><dim>)</intensity>
Expected object to contain value:
<green>{"world": "hello"}</color>
Received:
<red>{"message": {"hello": "world"}}</color>"
`;
exports[`.toContainValue fails when given object does not contain primitive value 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).toContainValue(</intensity><green>expected</color><dim>)</intensity>
Expected object to contain value:
<green>"hello"</color>
Received:
<red>{"hello": "world"}</color>"
`;
exports[`toContainValue with custom equality tester fails when custom equality does not match any of the values 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).toContainValue(</intensity><green>expected</color><dim>)</intensity>
Expected object to contain value:
<green>"world"</color>
Received:
<red>{"hello": "world"}</color>"
`;