Skip to content

Commit

Permalink
test(zone.js): fix zone.js test listener removal (angular#55017)
Browse files Browse the repository at this point in the history
The test was checking the wrong set of listeners because of a typo.

PR Close angular#55017
  • Loading branch information
ranma42 authored and ilirbeqirii committed Apr 6, 2024
1 parent 8ebbe68 commit 392fcf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zone.js/test/browser/browser.spec.ts
Expand Up @@ -2893,7 +2893,7 @@ describe('Zone', function() {
button.addEventListener('click', listener4, true);

button.removeAllListeners!('mouseover');
const listeners = button.eventListeners!('mouseove');
const listeners = button.eventListeners!('mouseover');
expect(listeners.length).toBe(0);

const mouseEvent = document.createEvent('Event');
Expand Down

0 comments on commit 392fcf6

Please sign in to comment.