MCPcopy Create free account
hub / github.com/DustinBrett/daedalOS / loadApp

Function loadApp

e2e/functions.ts:1013–1022  ·  view source on GitHub ↗
(queryParams?: Record<string, string>)

Source from the content-addressed store, hash-verified

1011// loaders
1012export const loadApp =
1013 (queryParams?: Record<string, string>) =>
1014 async ({ page }: TestProps): Promise<Response | null> => {
1015 await page.addInitScript((session) => {
1016 window.DEBUG_DEFAULT_SESSION = session;
1017 }, DEFAULT_SESSION);
1018
1019 return page.goto(
1020 queryParams ? `/?${new URLSearchParams(queryParams).toString()}` : "/"
1021 );
1022 };
1023
1024export const loadTestApp = async ({
1025 page,

Callers 14

index.spec.tsFile · 0.90
Terminal.spec.tsFile · 0.90
V86.spec.tsFile · 0.90
index.spec.tsFile · 0.90
Taskbar.spec.tsFile · 0.90
Desktop.spec.tsFile · 0.90
Metadata.spec.tsFile · 0.90
Wallpaper.spec.tsFile · 0.90
StartMenu.spec.tsFile · 0.90
Search.spec.tsFile · 0.90
loadTestAppFunction · 0.70

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected