From a1c4a0422beade5f75ea68dc397b8e1018e894fd Mon Sep 17 00:00:00 2001 From: yasaichi Date: Sun, 10 Mar 2024 15:15:39 +0900 Subject: [PATCH] Exclude `**/generated/` in coverage calculation --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 397b00a..c407aa1 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "lint": "deno lint", "test": "deno test --ignore=test/ --parallel", "test:watch": "pnpm run test --watch", - "test:cov": "pnpm run test --coverage && deno coverage && deno coverage --lcov --output=coverage/lcov.info", + "test:cov": "pnpm run test --coverage && deno coverage --exclude='/generated/' && deno coverage --exclude='/generated/' --lcov --output=coverage/lcov.info", "test:debug": "deno test --inspect-brk=127.0.0.1:9230", "test:e2e": "deno test --allow-env --allow-net --allow-read=. --parallel test/" },