diff --git a/.github/workflows/home-view-unit-test.yaml b/.github/workflows/home-view-unit-test.yaml index 5c3e5a67e..1e234a7f7 100644 --- a/.github/workflows/home-view-unit-test.yaml +++ b/.github/workflows/home-view-unit-test.yaml @@ -15,5 +15,3 @@ jobs: cache-dependency-path: "**/package-lock.json" - run: npm install - run: npm test - - name: Check Vitest thresholds - run: git diff --name-only --exit-code vite.config.ts diff --git a/extensions/vscode/webviews/homeView/vite.config.ts b/extensions/vscode/webviews/homeView/vite.config.ts index 313cd65b3..a8031d9d5 100644 --- a/extensions/vscode/webviews/homeView/vite.config.ts +++ b/extensions/vscode/webviews/homeView/vite.config.ts @@ -40,11 +40,12 @@ export default defineConfig({ coverage: { enabled: true, thresholds: { - functions: 30.13, - lines: 17.46, - branches: 44.82, - statements: 17.46, - autoUpdate: true, + functions: 30, + lines: 17, + branches: 44, + statements: 17, + // avoid auto-updating thresholds to avoid off by 0.01 differences + autoUpdate: false, }, }, },