test: add integration test for side effects (#29329)
This new tests keeps track of the known side effects for Angular ES modules. PR Close #29329
This commit is contained in:
9
integration/side-effects/snapshots/elements/esm2015.js
Normal file
9
integration/side-effects/snapshots/elements/esm2015.js
Normal file
@ -0,0 +1,9 @@
|
||||
import "@angular/core";
|
||||
|
||||
import "rxjs";
|
||||
|
||||
import "rxjs/operators";
|
||||
|
||||
const elProto = Element.prototype;
|
||||
|
||||
const matches = elProto.matches || elProto.matchesSelector || elProto.mozMatchesSelector || elProto.msMatchesSelector || elProto.oMatchesSelector || elProto.webkitMatchesSelector;
|
Reference in New Issue
Block a user