Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
Something went wrong. Try again.
TypeScript
1234567891011121314151617// fix #4686
import { expect, test } from 'vitest'import { instances, runBrowserTests } from './utils'
test('tests run in presence of config.base', async () => { const { stderr, stdout } = await runBrowserTests( { config: './vitest.config-basepath.mts', }, ['test/basic.test.ts'], )
expect(stderr).toBe('') expect(stdout).toReportPassedTest('test/basic.test.ts', instances)})