MCPcopy
hub / github.com/angular/angular / assertInsideProxyZone

Function assertInsideProxyZone

packages/zone.js/test/jest/jest.spec.js:3–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1const waitForAsync = Zone[Zone.__symbol__('asyncTest')];
2
3function assertInsideProxyZone() {
4 expect(Zone.current.name).toEqual('ProxyZone');
5}
6function assertInsideSyncDescribeZone() {
7 expect(Zone.current.name).toEqual('syncTestZone for jest.describe');
8}

Callers 1

jest.spec.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…