Skip to content

Commit f76c731

Browse files
calixtemanrousek
authored andcommitted
Fix unit test (mozilla#15093 follow-up)
1 parent a601d03 commit f76c731

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

test/unit/scripting_spec.js

+14
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ describe("Scripting", function () {
120120
expect(send_queue.has(refId)).toEqual(true);
121121
expect(send_queue.get(refId)).toEqual({
122122
id: refId,
123+
siblings: null,
123124
value: expected,
124125
formattedValue: null,
125126
});
@@ -369,6 +370,7 @@ describe("Scripting", function () {
369370
expect(send_queue.has(refId)).toEqual(true);
370371
expect(send_queue.get(refId)).toEqual({
371372
id: refId,
373+
siblings: null,
372374
value: "hell",
373375
selRange: [4, 4],
374376
});
@@ -406,6 +408,7 @@ describe("Scripting", function () {
406408
expect(send_queue.has(refId)).toEqual(true);
407409
expect(send_queue.get(refId)).toEqual({
408410
id: refId,
411+
siblings: null,
409412
value: "hella",
410413
selRange: [5, 5],
411414
});
@@ -479,6 +482,7 @@ describe("Scripting", function () {
479482
expect(send_queue.has(refId1)).toEqual(true);
480483
expect(send_queue.get(refId1)).toEqual({
481484
id: refId1,
485+
siblings: null,
482486
value: "world",
483487
formattedValue: null,
484488
});
@@ -800,6 +804,7 @@ describe("Scripting", function () {
800804
expect(send_queue.has(refId)).toEqual(true);
801805
expect(send_queue.get(refId)).toEqual({
802806
id: refId,
807+
siblings: null,
803808
value: "123456.789",
804809
formattedValue: null,
805810
});
@@ -979,6 +984,7 @@ describe("Scripting", function () {
979984
expect(send_queue.has(refId)).toEqual(true);
980985
expect(send_queue.get(refId)).toEqual({
981986
id: refId,
987+
siblings: null,
982988
value: "321",
983989
formattedValue: null,
984990
});
@@ -1077,6 +1083,7 @@ describe("Scripting", function () {
10771083
expect(send_queue.has(refIds[3])).toEqual(true);
10781084
expect(send_queue.get(refIds[3])).toEqual({
10791085
id: refIds[3],
1086+
siblings: null,
10801087
value: 1,
10811088
formattedValue: null,
10821089
});
@@ -1090,6 +1097,7 @@ describe("Scripting", function () {
10901097
expect(send_queue.has(refIds[3])).toEqual(true);
10911098
expect(send_queue.get(refIds[3])).toEqual({
10921099
id: refIds[3],
1100+
siblings: null,
10931101
value: 3,
10941102
formattedValue: null,
10951103
});
@@ -1103,6 +1111,7 @@ describe("Scripting", function () {
11031111
expect(send_queue.has(refIds[3])).toEqual(true);
11041112
expect(send_queue.get(refIds[3])).toEqual({
11051113
id: refIds[3],
1114+
siblings: null,
11061115
value: 6,
11071116
formattedValue: null,
11081117
});
@@ -1178,6 +1187,7 @@ describe("Scripting", function () {
11781187
expect(send_queue.has(refId)).toEqual(true);
11791188
expect(send_queue.get(refId)).toEqual({
11801189
id: refId,
1190+
siblings: null,
11811191
value: "3F?",
11821192
selRange: [3, 3],
11831193
});
@@ -1206,6 +1216,7 @@ describe("Scripting", function () {
12061216
expect(send_queue.has(refId)).toEqual(true);
12071217
expect(send_queue.get(refId)).toEqual({
12081218
id: refId,
1219+
siblings: null,
12091220
value: "3F?0",
12101221
formattedValue: null,
12111222
});
@@ -1266,6 +1277,7 @@ describe("Scripting", function () {
12661277
expect(send_queue.has(refId)).toEqual(true);
12671278
expect(send_queue.get(refId)).toEqual({
12681279
id: refId,
1280+
siblings: null,
12691281
value,
12701282
selRange: [i, i],
12711283
});
@@ -1326,6 +1338,7 @@ describe("Scripting", function () {
13261338
expect(send_queue.has(refId)).toEqual(true);
13271339
expect(send_queue.get(refId)).toEqual({
13281340
id: refId,
1341+
siblings: null,
13291342
value,
13301343
selRange: [i, i],
13311344
});
@@ -1386,6 +1399,7 @@ describe("Scripting", function () {
13861399
expect(send_queue.has(refId)).toEqual(true);
13871400
expect(send_queue.get(refId)).toEqual({
13881401
id: refId,
1402+
siblings: null,
13891403
value,
13901404
selRange: [i, i],
13911405
});

0 commit comments

Comments
 (0)