( html: string, blockFn: () => Promise<unknown> | void, )
| 68 | * @param blockFn function to wrap. The function can return promise or be `async`. |
| 69 | */ |
| 70 | export function withHead( |
| 71 | html: string, |
| 72 | blockFn: () => Promise<unknown> | void, |
| 73 | ): jasmine.ImplementationCallback { |
| 74 | return wrapTestFn(() => document.head, html, blockFn); |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * Wraps provided function (which typically contains the code of a test) into a new function that |
no test coverage detected
searching dependent graphs…