From 36bb114c29358a155043af746efb03ae98174273 Mon Sep 17 00:00:00 2001 From: DanSnow Date: Tue, 16 Apr 2024 16:56:25 +0800 Subject: [PATCH] chore: add coverage config --- vitest.config.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vitest.config.ts diff --git a/vitest.config.ts b/vitest.config.ts new file mode 100644 index 00000000..944c6260 --- /dev/null +++ b/vitest.config.ts @@ -0,0 +1,10 @@ +import { defineConfig } from 'vitest/config' + +export default defineConfig({ + test: { + coverage: { + provider: 'v8', + exclude: ['packages/playground', '.yarn/**/*', 'packages/*/public', 'packages/karbon/bin'], + }, + }, +})