angular-cn/packages/zone.js/test/browser_symbol_setup.ts

4 lines
166 B
TypeScript
Raw Normal View History

(window as any).global = window;
// Change default symbol prefix for testing to ensure no hard-coded references.
(window as any)['__Zone_symbol_prefix'] = '_test__';