angular/packages/zone.js/test
Andrew Scott 1ea39e050c refactor(zone.js): Add a withProxyZone helper that might be used for unpatched test frameworks (#61626)
As an alternative to monkey patching vitest, this change adds a method that could be used
for manually running functions inside a shared proxy zone. If used inocrrectly,
this would mean that
the `fakeAsync` closure may not capture all timers and microtasks if it
invokes things created in a zone that was already forked (e.g. creating
a component in a beforeEach:
2699dd6555/packages/zone.js/lib/jasmine/jasmine.ts (L363-L371))

PR Close #61626
2025-05-22 13:39:30 -07:00
..
assets refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
browser refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
closure refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
common fix(zone.js): classes that extend Error should retain cause property (#61599) 2025-05-21 20:43:09 -07:00
extra refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
jest test(zone.js): reduce flakiness of a timer-related test (#59653) 2025-01-21 13:20:24 -08:00
node build: update cross-repo angular dependencies (#58446) 2024-10-31 19:05:01 +01:00
npm_package refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
patch refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
performance refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
promise fix(zone.js): Promise.resolve(subPromise) should return subPromise (#53423) 2023-12-11 10:55:12 -08:00
rxjs refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
typings build: update cross-repo angular dependencies (#58446) 2024-10-31 19:05:01 +01:00
vitest refactor(zone.js): Add a withProxyZone helper that might be used for unpatched test frameworks (#61626) 2025-05-22 13:39:30 -07:00
webdriver refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
zone-spec refactor(zone.js): drop isIE checks (#61091) 2025-05-02 07:53:35 -07:00
browser-env-setup.ts refactor(zone.js): updates fake polyfill to remove top-level side effect (#53443) 2024-03-15 18:11:34 -07:00
browser-zone-setup.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
browser_disable_wrap_uncaught_promise_rejection_entry_point.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
browser_disable_wrap_uncaught_promise_rejection_setup.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
browser_entry_point.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
browser_es2015_entry_point.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
browser_shadydom_entry_point.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
browser_shadydom_setup.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
browser_symbol_setup.ts fix(zone.js): disable wrapping unhandled promise error by default (#52492) 2023-11-03 09:33:20 -07:00
BUILD.bazel refactor(zone.js): change from scripts to modules (#53445) 2024-01-09 13:20:50 -08:00
common_tests.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
fake_entry.js build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
jasmine-patch.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
karma_test.bzl feat(zone.js): remove legacy files and access to deep imports (#51752) 2023-09-14 12:11:05 +02:00
main.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
mocha-patch.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
node-env-setup.ts refactor(zone.js): update Node test entry point to call patch functions (#53443) 2024-03-15 18:11:34 -07:00
node_bluebird_entry_point.init.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
node_entry_point.init.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
node_error_disable_policy.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
node_error_disable_policy_entry_point.init.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
node_error_entry_point.init.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
node_error_lazy_policy.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
node_error_lazy_policy_entry_point.init.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
node_tests.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
saucelabs.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
test-env-setup-jasmine.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
test-env-setup-mocha.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
test-util.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
test_fake_polyfill.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ws-server.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ws-webworker-context.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
wtf_mock.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
zone_worker_entry_point.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00