mirror of
https://github.com/unjs/unplugin.git
synced 2025-12-08 20:26:33 +00:00
* 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>
20 lines
350 B
TypeScript
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}'],
|
|
},
|
|
},
|
|
})
|