We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4cfe65 commit 6540d18Copy full SHA for 6540d18
.github/workflows/test.yaml
@@ -27,7 +27,7 @@ jobs:
27
- name: 'Install Deps'
28
run: pnpm install --frozen-lockfile
29
- name: 'Test'
30
- run: npx vitest
+ run: pnpm test
31
# - name: 'Test coverage'
32
# run: npx vitest --coverage
33
- name: 'Report Coverage'
vite.config.ts
@@ -3,6 +3,11 @@ import { defineConfig } from "vitest/config"
3
import dts from "vite-plugin-dts"
4
5
export default defineConfig({
6
+ test: {
7
+ coverage: {
8
+ reporter: ["json-summary", "text"]
9
+ }
10
+ },
11
build: {
12
lib: {
13
// Could also be a dictionary or array of multiple entry points
0 commit comments