Skip to content

Commit 75380b7

Browse files
Copilotcongminh1254
andcommitted
Fix js-yaml 4.x compatibility by replacing safeDump and updating fixtures
Co-authored-by: congminh1254 <[email protected]>
1 parent 6a31d5b commit 75380b7

File tree

1 file changed

+89
-1
lines changed

1 file changed

+89
-1
lines changed

test/fixtures/bulk/saveTest.txt

Lines changed: 89 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,89 @@
1-
foo
1+
[
2+
{
3+
"type": "collaboration",
4+
"id": "1234567890",
5+
"created_by": {
6+
"type": "user",
7+
"id": "9753108642",
8+
"name": "Inviting User",
9+
"login": "[email protected]"
10+
},
11+
"created_at": "2016-11-16T21:33:31-08:00",
12+
"modified_at": "2016-11-16T21:33:31-08:00",
13+
"expires_at": null,
14+
"status": "accepted",
15+
"accessible_by": {
16+
"type": "user",
17+
"id": "987654321",
18+
"name": "Steve Jobs",
19+
"login": "[email protected]"
20+
},
21+
"role": "previewer",
22+
"acknowledged_at": "2016-11-16T21:33:31-08:00",
23+
"item": {
24+
"type": "file",
25+
"id": "11111",
26+
"sequence_id": "0",
27+
"etag": "0",
28+
"name": "Collaborated File"
29+
}
30+
},
31+
{
32+
"type": "collaboration",
33+
"id": "1234567891",
34+
"created_by": {
35+
"type": "user",
36+
"id": "9753108642",
37+
"name": "Inviting User",
38+
"login": "[email protected]"
39+
},
40+
"created_at": "2016-11-16T21:33:31-08:00",
41+
"modified_at": "2016-11-16T21:33:31-08:00",
42+
"expires_at": null,
43+
"status": "accepted",
44+
"accessible_by": {
45+
"type": "user",
46+
"id": "987654322",
47+
"name": "Roger Federer",
48+
"login": "[email protected]"
49+
},
50+
"role": "previewer",
51+
"acknowledged_at": "2016-11-16T21:33:31-08:00",
52+
"item": {
53+
"type": "file",
54+
"id": "22222",
55+
"sequence_id": "0",
56+
"etag": "0",
57+
"name": "Collaborated File"
58+
}
59+
},
60+
{
61+
"type": "collaboration",
62+
"id": "1234567892",
63+
"created_by": {
64+
"type": "user",
65+
"id": "9753108642",
66+
"name": "Inviting User",
67+
"login": "[email protected]"
68+
},
69+
"created_at": "2016-11-16T21:33:31-08:00",
70+
"modified_at": "2016-11-16T21:33:31-08:00",
71+
"expires_at": null,
72+
"status": "accepted",
73+
"accessible_by": {
74+
"type": "user",
75+
"id": "987654323",
76+
"name": "Dominic Toretto",
77+
"login": "[email protected]"
78+
},
79+
"role": "previewer",
80+
"acknowledged_at": "2016-11-16T21:33:31-08:00",
81+
"item": {
82+
"type": "file",
83+
"id": "33333",
84+
"sequence_id": "0",
85+
"etag": "0",
86+
"name": "Collaborated File"
87+
}
88+
}
89+
]

0 commit comments

Comments
 (0)