-
-
Notifications
You must be signed in to change notification settings - Fork 225
/
Copy pathtoIncludeAllPartialMembers.test.js.snap
46 lines (36 loc) · 1.98 KB
/
toIncludeAllPartialMembers.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
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`.not.toIncludeAllPartialMembers fails when array values matches the members of the set 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).not.toIncludeAllPartialMembers(</intensity><green>expected</color><dim>)</intensity>
Expected list to not have all of the following partial members:
<green>[{"foo": "bar"}]</color>
Received:
<red>[{"hello": "world"}, {"baz": "qux", "foo": "bar"}]</color>"
`;
exports[`.toIncludeAllPartialMembers fails when array values do not contain any of the members of the set 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).toIncludeAllPartialMembers(</intensity><green>expected</color><dim>)</intensity>
Expected list to have all of the following partial members:
<green>[{"foo": "qux"}]</color>
Received:
<red>[{"hello": "world"}, {"baz": "qux", "foo": "bar"}]</color>"
`;
exports[`.toIncludeAllPartialMembers fails when expected object is not an array 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).toIncludeAllPartialMembers(</intensity><green>expected</color><dim>)</intensity>
Expected list to have all of the following partial members:
<green>1</color>
Received:
<red>[{"hello": "world"}, {"baz": "qux", "foo": "bar"}]</color>"
`;
exports[`.toIncludeAllPartialMembers fails when given object is not an array 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).toIncludeAllPartialMembers(</intensity><green>expected</color><dim>)</intensity>
Expected list to have all of the following partial members:
<green>[{"foo": "bar"}]</color>
Received:
<red>1</color>"
`;
exports[`toIncludeAllPartialMembers with custom equality tester fails when custom equality does not match any of the values 1`] = `
"<dim>expect(</intensity><red>received</color><dim>).toIncludeAllPartialMembers(</intensity><green>expected</color><dim>)</intensity>
Expected list to have all of the following partial members:
<green>[{"foo": "bar"}]</color>
Received:
<red>[{"foo": "bar"}]</color>"
`;