MCPcopy Index your code
hub / github.com/Sandpack/nodebox-runtime / Fixtures

Interface Fixtures

tests/index.ts:14–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14interface Fixtures {
15 emulatorUrl: string;
16 runTestServer(): Promise<void>;
17 getBridgeFrameLocator(): Promise<Locator>;
18 getPreviewFrameLocator(): Promise<Locator>;
19
20 /**
21 * Returns the preview frame of the application.
22 * @note This awaits both the bridge and the preview locators
23 * before returning.
24 */
25 getPreviewFrame(): Promise<Locator>;
26 runExample(path: string): Promise<void>;
27}
28
29const EMULATOR_URL = `https://${process.env.EMULATOR_HOST}?layout=debug`;
30

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected