(
fixtureDir: string,
fn: (address: string, dir: string) => void | Promise<void>,
env: Record<string, string> = {},
)
| 125 | } |
| 126 | |
| 127 | export async function withDevServer( |
| 128 | fixtureDir: string, |
| 129 | fn: (address: string, dir: string) => void | Promise<void>, |
| 130 | env: Record<string, string> = {}, |
| 131 | ) { |
| 132 | await using tmp = await prepareDevServer(fixtureDir); |
| 133 | await launchDevServer(tmp.dir, fn, env); |
| 134 | } |
| 135 | |
| 136 | export async function buildVite( |
| 137 | fixtureDir: string, |
no test coverage detected