MCPcopy Index your code
hub / github.com/angular/angular / setupNodeEnv

Function setupNodeEnv

packages/zone.js/test/node-env-setup.ts:1–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1export function setupNodeEnv(): void {
2 // Change default symbol prefix for testing to ensure no hard-coded references.
3 (global as any)['__Zone_symbol_prefix'] = '__zone_symbol_test__';
4 (global as any)['__zone_symbol_test__DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION'] = false;
5}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…