Skip to content

Commit cdcf915

Browse files
committed
Fix another html test
1 parent 67f208e commit cdcf915

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

__tests__/html2/livestream/concludedLivestream.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@
167167
);
168168
await host.snapshot('local');
169169

170-
// THEN: Should have 1 activity key associated with 2 activity IDs only.
171-
expect(currentActivityKeysWithId).toEqual([[firstTypingActivityKey, ['t-00001', 't-00002']]]);
170+
// THEN: Should have 1 activity key associated with a single activity ID only.
171+
expect(currentActivityKeysWithId).toEqual([[firstTypingActivityKey, ['t-00002']]]);
172172

173173
// THEN: Should have no active typing.
174174
expect(currentActiveTyping).toHaveProperty('u-00001', undefined);
@@ -198,8 +198,8 @@
198198
);
199199
await host.snapshot('local');
200200

201-
// THEN: Should have 1 activity key associated with 2 activity IDs only.
202-
expect(currentActivityKeysWithId).toEqual([[firstTypingActivityKey, ['t-00001', 't-00002']]]);
201+
// THEN: Should have 1 activity key associated with 1 activity ID only (intermediate revisions pruned).
202+
expect(currentActivityKeysWithId).toEqual([[firstTypingActivityKey, ['t-00002']]]);
203203

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

0 commit comments

Comments
 (0)