From b73dee52adaf348cc0106527a7987b25908e0c47 Mon Sep 17 00:00:00 2001 From: Marius Begby Date: Sat, 16 Sep 2023 18:30:45 +0200 Subject: [PATCH] chore: add jest coverage npm script --- .gitignore | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index d87abe4..ee3aad9 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /cookies.json /cookies.txt /dist +/coverage diff --git a/package.json b/package.json index 761d78d..9c4ab92 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "scripts": { "test": "jest", "test:watch": "jest --watch", + "coverage": "jest --coverage", "start": "node ./dist/index.js", "start-pretty": "node ./dist/index.js | pino-pretty --ignore environment,source,module,action,name,context,executionId,executionTime,shardId,guildId,interactionType", "start-pretty-no-ignore": "node ./dist/index.js | pino-pretty",