refactor(core): remove testing-only event utilities from DomAdapters (#32291)

PR Close #32291
This commit is contained in:
Kara Erickson
2019-08-27 16:21:39 -07:00
committed by Miško Hevery
parent cb5701f8d9
commit f3e4cb491e
8 changed files with 38 additions and 55 deletions

View File

@ -54,13 +54,8 @@ export class WorkerDomAdapter extends DomAdapter {
parse(templateHtml: string) { throw 'not implemented'; }
querySelector(el: any, selector: string): HTMLElement { throw 'not implemented'; }
querySelectorAll(el: any, selector: string): any[] { throw 'not implemented'; }
on(el: any, evt: any, listener: any) { throw 'not implemented'; }
onAndCancel(el: any, evt: any, listener: any): Function { throw 'not implemented'; }
dispatchEvent(el: any, evt: any) { throw 'not implemented'; }
createMouseEvent(eventType: any): any { throw 'not implemented'; }
createEvent(eventType: string): any { throw 'not implemented'; }
preventDefault(evt: any) { throw 'not implemented'; }
isPrevented(evt: any): boolean { throw 'not implemented'; }
nextSibling(el: any): Node { throw 'not implemented'; }
parentElement(el: any): Node { throw 'not implemented'; }
clearNodes(el: any) { throw 'not implemented'; }