MCPcopy
hub / github.com/vitest-dev/vitest / runNoViteModuleRunnerTests

Function runNoViteModuleRunnerTests

test/cli/test/no-module-runner.test.ts:754–763  ·  view source on GitHub ↗
(structure: TestFsStructure, vitestConfig?: RunVitestConfig, options?: VitestRunnerCLIOptions)

Source from the content-addressed store, hash-verified

752})
753
754function runNoViteModuleRunnerTests(structure: TestFsStructure, vitestConfig?: RunVitestConfig, options?: VitestRunnerCLIOptions) {
755 return runInlineTests(structure, {
756 globals: true,
757 ...vitestConfig,
758 experimental: {
759 ...vitestConfig?.experimental,
760 viteModuleRunner: false,
761 },
762 }, options)
763}

Callers 1

Calls 1

runInlineTestsFunction · 0.70

Tested by

no test coverage detected