angular-cn/tools/testing
JiaLiPassion 1cba56e11f refactor(core): remove unused fakeAsyncFallback and asyncFallback (#37879)
`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
2020-11-20 08:34:59 -08:00
..
BUILD.bazel build: update to rules_nodejs 1.1.0 (#34736) 2020-01-15 14:58:07 -05:00
README.md feat(ivy): first steps towards ngtsc mode (#23455) 2018-04-25 13:25:33 -07:00
fail.spec.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
init_browser_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
init_node_no_angular_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
init_node_spec.ts refactor(core): remove unused fakeAsyncFallback and asyncFallback (#37879) 2020-11-20 08:34:59 -08:00

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.