(name: string, fn: () => void | Promise<void>)
| 1 | import { test, vi } from "vitest"; |
| 2 | |
| 3 | export function testWithEffect(name: string, fn: () => void | Promise<void>): void { |
| 4 | test(name, () => effectRootScope(fn)); |
| 5 | } |
| 6 | |
| 7 | export function effectRootScope(fn: () => void | Promise<void>): void | Promise<void> { |
| 8 | let promise!: void | Promise<void>; |
no test coverage detected