mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
We have a file called `test-events.js` (named in an ambiguous way anyway) that runs for all Karma web tests and configures ZoneJS to not patch the `scroll` event. There are two issues: 1. The patch applies to all web tests. This could cause unexpected issues. 2. The file is named ambiguously and also is placed at the project root, in a wrong spot. Additionally, the test doesn't even fail when the file is removed. This commit applies the Zone config locally to the closest build target and also reworks the test to actually ensure it's testing what it describes. PR Close #46511 |
||
|---|---|---|
| .. | ||
| animations | ||
| src | ||
| test | ||
| testing | ||
| BUILD.bazel | ||
| index.ts | ||
| package.json | ||
| PACKAGE.md | ||
| public_api.ts | ||