({
provide,
}: {
provide: <T extends keyof ProvidedContext>(
key: T,
value: ProvidedContext[T],
) => void;
})
| 12 | import { getMaterializeEndpoints } from "./mzcompose"; |
| 13 | |
| 14 | export async function setup({ |
| 15 | provide, |
| 16 | }: { |
| 17 | provide: <T extends keyof ProvidedContext>( |
| 18 | key: T, |
| 19 | value: ProvidedContext[T], |
| 20 | ) => void; |
| 21 | }) { |
| 22 | // Cache these values to be used in the tests |
| 23 | const value = await getMaterializeEndpoints(); |
| 24 | provide("materializeEndpoints", value); |
| 25 | } |
nothing calls this directly
no test coverage detected