unplugin/vitest.config.ts
Kanon c545adf46f
test: add test for esbuild/utils.ts (#492)
* test: add test for esbuild/utils.ts

Signed-off-by: ysknsid25 <kengo071225@gmail.com>

* test: add test for esbuild/utils.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Signed-off-by: ysknsid25 <kengo071225@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-09 17:39:04 +08:00

20 lines
350 B
TypeScript

import { resolve } from 'node:path'
import { defineConfig } from 'vitest/config'
export default defineConfig({
define: {
__DEV__: 'true',
},
resolve: {
alias: {
unplugin: resolve('src/index.ts'),
},
},
test: {
coverage: {
reporter: ['text', 'json', 'html'],
include: ['src/**/*.{ts,tsx}'],
},
},
})