From 98a1f260aecb035a0f6112631ab6dd74c9dc993c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=94=E7=8E=8B=E5=B0=91=E5=B9=B4?= Date: Wed, 20 Nov 2024 00:31:48 +0800 Subject: [PATCH] chore: vitest includes coverage by default. (#57) --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index 38ea54e..ab43631 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,6 +3,7 @@ import { defineConfig } from "vitest/config"; export default defineConfig({ test: { coverage: { + enabled: true, include: ["src/**/*.ts"], }, },