-
-
Notifications
You must be signed in to change notification settings - Fork 225
/
Copy pathtoIncludeAnyMembers.test.js.snap
64 lines (50 loc) · 2.42 KB
/
toIncludeAnyMembers.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.toIncludeAnyMembers fails when given array contains array value 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).not.toIncludeAnyMembers(</intensity><green>expected</color><dim>)</intensity>
Expected list to not include any of the following members:
<green>[[{"hello": "world"}], 7]</color>
Received:
<red>[[{"hello": "world"}]]</color>"
`;
exports[`.not.toIncludeAnyMembers fails when given array contains object value 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).not.toIncludeAnyMembers(</intensity><green>expected</color><dim>)</intensity>
Expected list to not include any of the following members:
<green>[{"foo": "bar"}]</color>
Received:
<red>[{"foo": "bar"}]</color>"
`;
exports[`.not.toIncludeAnyMembers fails when given object contains primitive value 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).not.toIncludeAnyMembers(</intensity><green>expected</color><dim>)</intensity>
Expected list to not include any of the following members:
<green>[7, 8]</color>
Received:
<red>[7]</color>"
`;
exports[`.toIncludeAnyMembers fails when expected object does not contain array value 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).toIncludeAnyMembers(</intensity><green>expected</color><dim>)</intensity>
Expected list to include any of the following members:
<green>"world"</color>
Received:
<red>[1, 2, 3]</color>"
`;
exports[`.toIncludeAnyMembers fails when given array does not contain any members 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).toIncludeAnyMembers(</intensity><green>expected</color><dim>)</intensity>
Expected list to include any of the following members:
<green>[1, 2, 3]</color>
Received:
<red>[4, 5, 6]</color>"
`;
exports[`.toIncludeAnyMembers fails when given object is not an array 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).toIncludeAnyMembers(</intensity><green>expected</color><dim>)</intensity>
Expected list to include any of the following members:
<green>[1, 2, 3]</color>
Received:
<red>7</color>"
`;
exports[`toIncludeAnyMembers with custom equality tester fails when custom equality does not match any of the values 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).toIncludeAnyMembers(</intensity><green>expected</color><dim>)</intensity>
Expected list to include any of the following members:
<green>[1]</color>
Received:
<red>[1]</color>"
`;