( structure: TestFsStructure, config?: RunVitestConfig, options?: VitestRunnerCLIOptions, )
| 7 | export { instances, provider } from '../settings' |
| 8 | |
| 9 | export async function runInlineBrowserTests( |
| 10 | structure: TestFsStructure, |
| 11 | config?: RunVitestConfig, |
| 12 | options?: VitestRunnerCLIOptions, |
| 13 | ) { |
| 14 | return runInlineTests( |
| 15 | structure, |
| 16 | { |
| 17 | watch: false, |
| 18 | reporters: 'none', |
| 19 | ...config, |
| 20 | browser: { |
| 21 | enabled: true, |
| 22 | provider, |
| 23 | instances, |
| 24 | headless: true, |
| 25 | ...config?.browser, |
| 26 | } as TestUserConfig['browser'], |
| 27 | }, |
| 28 | options, |
| 29 | ) |
| 30 | } |
| 31 | |
| 32 | export async function runBrowserTests( |
| 33 | config?: Omit<TestUserConfig, 'browser'> & { browser?: Partial<TestUserConfig['browser']> }, |
no test coverage detected