(originalJestFn: Function)
| 41 | const proxyZone = rootZone.fork(proxyZoneSpec); |
| 42 | |
| 43 | function wrapDescribeFactoryInZone(originalJestFn: Function) { |
| 44 | return function (this: unknown, ...tableArgs: any[]) { |
| 45 | const originalDescribeFn = originalJestFn.apply(this, tableArgs); |
| 46 | return function (this: unknown, ...args: any[]) { |
| 47 | args[1] = wrapDescribeInZone(args[1]); |
| 48 | return originalDescribeFn.apply(this, args); |
| 49 | }; |
| 50 | }; |
| 51 | } |
| 52 | |
| 53 | function wrapTestFactoryInZone(originalJestFn: Function) { |
| 54 | return function (this: unknown, ...tableArgs: any[]) { |
no test coverage detected
searching dependent graphs…