1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-06 19:32:22 +04:00
Files
tabler/core/vitest.config.mts

25 lines
599 B
TypeScript

import { defineConfig } from 'vitest/config'
import { playwright } from '@vitest/browser-playwright'
export default defineConfig({
test: {
browser: {
enabled: true,
provider: playwright(),
headless: true,
instances: [
{ browser: 'chromium' },
],
},
include: ['js/tests/**/*.spec.ts'],
globals: true,
css: false,
coverage: {
provider: 'istanbul',
include: ['js/src/bootstrap/**/*.ts'],
reporter: ['text', 'html', 'lcov'],
reportsDirectory: 'coverage'
}
}
})