`zone.js` 0.8.25 introduces `zone-testing` bundle and move all `fakeAsync/async` logic from `@angular/core/testing` to `zone.js` package. But in case some user still using the old version of `zone.js`, an old version of `fakeAsync/async` logic were still kept inside `@angular/core/testing` package as `fallback` logic. Since now `Angular8+` already use `zone.js 0.9+`, so those fallback logic is removed. PR Close #37879 |
||
---|---|---|
.. | ||
BUILD.bazel | ||
README.md | ||
fail.spec.js | ||
init_browser_spec.ts | ||
init_node_no_angular_spec.ts | ||
init_node_spec.ts |
README.md
The spec helper files here set up the global testing environment prior to the execution of specs.
There are 3 options:
init_node_spec
- configures a node environment to test Angular applications with platform-server.init_node_no_angular_spec
- configures a node environment for testing without setting up Angular's testbed (no dependency on Angular packages is incurred).init_browser_spec
- configures a browser environment to test Angular applications.