File tree Expand file tree Collapse file tree
__tests__/html2/livestream Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 ) ;
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 ) ;
You can’t perform that action at this time.
0 commit comments