Skip to content

Commit 67f208e

Browse files
committed
html tests
1 parent eb44056 commit 67f208e

7 files changed

Lines changed: 10 additions & 10 deletions

File tree

__tests__/html2/livestream/activityOrder.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246
expect(currentActivityKeysWithId).toEqual([
247247
[firstActivityKey, ['a-00001']],
248248
[thirdActivityKey, ['a-00003']],
249-
[secondActivityKey, ['t-00001', 't-00002', 't-00003', 'a-00002']]
249+
[secondActivityKey, ['a-00002']]
250250
]);
251251
});
252252
</script>

__tests__/html2/livestream/backtrackToEmpty.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@
264264
// THEN: Should have 2 activity keys only.
265265
expect(currentActivityKeysWithId).toEqual([
266266
[expect.any(String), ['a-00001']],
267-
[firstTypingActivityKey, ['t-00001', 't-00002', 't-00003', 't-00004']]
267+
[firstTypingActivityKey, ['t-00004']]
268268
]);
269269

270270
// THEN: Should have no active typing.
@@ -287,7 +287,7 @@
287287
// THEN: Should have 2 activity keys only.
288288
expect(currentActivityKeysWithId).toEqual([
289289
[expect.any(String), ['a-00001']],
290-
[firstTypingActivityKey, ['t-00001', 't-00002', 't-00003', 't-00004']],
290+
[firstTypingActivityKey, ['t-00004']],
291291
[expect.any(String), ['a-00002']]
292292
]);
293293

__tests__/html2/livestream/chunk.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
// THEN: Should have 2 activity keys.
205205
expect(currentActivityKeysWithId).toEqual([
206206
[firstActivityKey, ['a-00001']],
207-
[secondActivityKey, ['t-00001', 't-00002', 't-00003', 'a-00002']]
207+
[secondActivityKey, ['a-00002']]
208208
]);
209209
});
210210
</script>

__tests__/html2/livestream/concludedLivestream.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
await host.snapshot('local');
138138

139139
// THEN: Should have 1 activity key only.
140-
expect(currentActivityKeysWithId).toEqual([[firstTypingActivityKey, ['t-00001', 't-00002']]]);
140+
expect(currentActivityKeysWithId).toEqual([[firstTypingActivityKey, ['t-00002']]]);
141141

142142
// THEN: Should have no active typing.
143143
expect(currentActiveTyping).toHaveProperty('u-00001', undefined);

__tests__/html2/livestream/outOfOrder.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@
247247
// THEN: Should have 2 activity keys.
248248
expect(currentActivityKeysWithId).toEqual([
249249
[firstActivityKey, ['a-00001']],
250-
[secondActivityKey, ['t-00001', 't-00002', 't-00003', 'a-00002']]
250+
[secondActivityKey, ['a-00002']]
251251
]);
252252

253253
// THEN: Should have no typing.

__tests__/html2/livestream/outOfOrder.sequenceNumber.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
// THEN: Should have 2 activity keys.
250250
expect(currentActivityKeysWithId).toEqual([
251251
[firstActivityKey, ['a-00001']],
252-
[secondActivityKey, ['t-00001', 't-00002', 't-00003', 'a-00002']]
252+
[secondActivityKey, ['a-00002']]
253253
]);
254254

255255
// THEN: Should have no typing.

__tests__/html2/livestream/simultaneous.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
expect(currentActivityKeysWithId).toEqual([
252252
[firstActivityKey, ['a-00001']],
253253
[thirdActivityKey, ['t-10001', 't-10002']],
254-
[secondActivityKey, ['t-00001', 't-00002', 'a-00002']]
254+
[secondActivityKey, ['a-00002']]
255255
]);
256256

257257
// ---
@@ -289,8 +289,8 @@
289289
// THEN: Should have 3 activity keys.
290290
expect(currentActivityKeysWithId).toEqual([
291291
[firstActivityKey, ['a-00001']],
292-
[secondActivityKey, ['t-00001', 't-00002', 'a-00002']],
293-
[thirdActivityKey, ['t-10001', 't-10002', 'a-00003']]
292+
[secondActivityKey, ['a-00002']],
293+
[thirdActivityKey, ['a-00003']]
294294
]);
295295
});
296296
</script>

0 commit comments

Comments
 (0)