Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
fix: correct tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Raspincel committed Jan 15, 2024
1 parent 548a087 commit 4321871
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/comments/html-pin-adapter/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ describe('HTMLPinAdapter', () => {

instance['addListeners']();

expect(bodyAddEventListenerSpy).toHaveBeenCalledTimes(2);
expect(bodyAddEventListenerSpy).toHaveBeenCalledTimes(3);
expect(wrapperAddEventListenerSpy).toHaveBeenCalledTimes(6);
});

Expand All @@ -158,7 +158,7 @@ describe('HTMLPinAdapter', () => {

instance['removeListeners']();

expect(bodyRemoveEventListenerSpy).toHaveBeenCalledTimes(1);
expect(bodyRemoveEventListenerSpy).toHaveBeenCalledTimes(2);
expect(wrapperRemoveEventListenerSpy).toHaveBeenCalledTimes(6);
});
});
Expand Down

0 comments on commit 4321871

Please sign in to comment.