(hook)
| 421 | } |
| 422 | |
| 423 | function hook(hook) { |
| 424 | return (fn, options) => { |
| 425 | const parent = testResources.get(executionAsyncId()) || lazyBootstrapRoot(); |
| 426 | parent.createHook(hook, fn, { |
| 427 | __proto__: null, |
| 428 | ...options, |
| 429 | parent, |
| 430 | hookType: hook, |
| 431 | loc: getCallerLocation(), |
| 432 | }); |
| 433 | }; |
| 434 | } |
| 435 | |
| 436 | function getTestContext() { |
| 437 | const test = testResources.get(executionAsyncId()); |
no test coverage detected
searching dependent graphs…