Files
angular/tools/testing
Andrew Scott e8a7e49e6b build: update jasmine dependencies to v7
Updates Jasmine dependencies across the workspace to v7, retaining Jasmine 6
in packages/zone.js for its internal tests.

To support Jasmine 7 without relying on zone.js/plugins/jasmine-patch (which
cannot patch Jasmine 7 due to frozen environment properties and internal API
changes), unit tests across packages have been migrated off fakeAsync and
waitForAsync to standard asynchronous APIs (whenStable, useAutoTick, timeout,
and jasmine.clock).
2026-10-21 09:07:29 -07:00
..
2025-11-06 10:03:05 -08: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.