fix unit tests
This commit is contained in:
@@ -60,11 +60,7 @@ describe('replayer', function (this: ISuite) {
|
|||||||
replayer.play();
|
replayer.play();
|
||||||
replayer['timer']['actions'].length;
|
replayer['timer']['actions'].length;
|
||||||
`);
|
`);
|
||||||
expect(actionLength).to.equal(
|
expect(actionLength).to.equal(events.length);
|
||||||
events.filter(
|
|
||||||
(e) => ![EventType.DomContentLoaded, EventType.Load].includes(e.type),
|
|
||||||
).length,
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('will clean actions when pause', async () => {
|
it('will clean actions when pause', async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user