UNPKG

@lewiswright/vitest-plugin-vis

Version:
23 lines (22 loc) 537 B
import { stub } from 'type-plus'; export const stubBrowserCommandContext = stub.build({}); export function createStubPartialBrowserCommandContext({ root, testPath }) { return stub.build({ project: { config: { root, }, vite: { config: { test: { name: 'subject', }, }, }, }, provider: { options: {}, }, testPath, }); }