angular/tools/testing
Andrew Scott c3576506b3 refactor(core): Update tests for zoneless by default (#63668)
This updates tests and examples only to prepare for zoneless by default.

These changes were identified and made as part of #63382. Anything that
failed gets `provideZoneChangeDetection` unless the fixes were easily
and quickly determined.

It also adds the zoneless provider to the `initTestEnvironment` calls
for tests in this repo to prevent regressions before #63382 is merged.

PR Close #63668
2025-09-09 14:41:56 -07:00
..
browser_tests.init.mts refactor(core): Update tests for zoneless by default (#63668) 2025-09-09 14:41:56 -07:00
browser_zoneless_tests.init.mts build: update tools directory to use rules_js for building (#61656) 2025-05-26 09:01:13 +00:00
BUILD.bazel build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
node_no_angular_tests.init.mts build: update tools directory to use rules_js for building (#61656) 2025-05-26 09:01:13 +00:00
node_tests.init.mts refactor(core): Update tests for zoneless by default (#63668) 2025-09-09 14:41:56 -07:00
node_zoneless_tests.init.mts build: update tools directory to use rules_js for building (#61656) 2025-05-26 09:01:13 +00:00
README.md feat(ivy): first steps towards ngtsc mode (#23455) 2018-04-25 13:25:33 -07:00
zone_base_setup.mts refactor: use zone.js from npm instead of packages/zone.js throughout repo (#61977) 2025-06-10 12:02:03 -07:00

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.