From faf2afdcf374be2244721946807111a97939a14b Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 10 Dec 2023 10:45:22 +0100 Subject: [PATCH] Fix coverage thresholds definition --- vite.config.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 6badc9ce..9acca6a4 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -43,10 +43,12 @@ export default defineConfig({ ], // Required code coverage. Lower than this will make the check fail - statements: 95, - branches: 95, - functions: 90, - lines: 95, + thresholds: { + statements: 95, + branches: 95, + functions: 90, + lines: 95, + }, }, }, });