Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/template.
Something went wrong. Try again.
template vitest.config.ts
12345678910111213141516171819import { fileURLToPath } from 'node:url'import { defineConfig } from 'vitest/config'
export default defineConfig({ resolve: { alias: { 'package-name': fileURLToPath( new URL('./src/index.ts', import.meta.url).href, ), }, }, test: { coverage: { include: ['src'], reporter: ['text', 'json', 'html'], }, },})