import '@vitest/browser-playwright' import { stub } from 'type-plus/testing' import type { ExtendedBrowserCommandContext } from '../vis_server_context.types.ts' export const stubBrowserCommandContext = stub.build({}) export function createStubPartialBrowserCommandContext({ root, testPath }: { root: string; testPath: string }) { return stub.build({ project: { config: { root }, runner: { config: { name: 'subject' } }, } as any, provider: {}, testPath, }) }