Skip to content

Commit cd15c00

Browse files
committed
chore: fix linter error
1 parent 3b5e244 commit cd15c00

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/lib/select/select.spec.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1836,20 +1836,6 @@ class MultiSelect {
18361836
}
18371837

18381838

1839-
/**
1840-
* TODO: Move this to core testing utility until Angular has event faking
1841-
* support.
1842-
*
1843-
* Dispatches an event from an element.
1844-
* @param eventName Name of the event
1845-
* @param element The element from which the event will be dispatched.
1846-
*/
1847-
function dispatchEvent(eventName: string, element: HTMLElement): void {
1848-
let event = document.createEvent('Event');
1849-
event.initEvent(eventName, true, true);
1850-
element.dispatchEvent(event);
1851-
}
1852-
18531839
class FakeViewportRuler {
18541840
getViewportRect() {
18551841
return {

0 commit comments

Comments
 (0)