mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
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).
API Examples
This folder contains small example apps that get in-lined into our API docs. Each example contains tests for application behavior (as opposed to testing Angular's behavior) just like an Angular application developer would write.
Running the examples
# Serving individual examples (e.g. common)
pnpm bazel run //packages/examples/common:devserver
# "core" examples
pnpm bazel run //packages/examples/core:devserver
Running the tests
pnpm bazel test //packages/examples/...