From 2af7722733922ca456bc3c82cf1bb9391dccf93d Mon Sep 17 00:00:00 2001 From: Offroaders123 <65947371+Offroaders123@users.noreply.github.com> Date: Mon, 17 Jun 2024 14:24:11 -0700 Subject: [PATCH] Code Coverage Removal + TSX Explorations Stil trying to see if I can move over to the built-in Node test runner instead of Jest, it didn't work the first time I tried moving to it. It doesn't have code coverage support, at least that I'm aware of, so I'm removing it in the Jest one first to help prevent accidental difference concerns. I started moving everything to TypeScript, but I really don't like how complex Jest is to use with either TS or plain ESM, so I want to use `tsx` with the Node test runner instead, that's a very nice and simple setup, I really like it. https://github.com/jestjs/jest/issues/13143 --- .gitignore | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 323c65b..9b84079 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ .DS_Store .github node_modules -coverage dist \ No newline at end of file diff --git a/package.json b/package.json index 5e8c42b..1ec4c9a 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "scripts": { "build": "tsc --project ./tsconfig.build.json", "dev": "tsc --watch", - "test": "node --experimental-vm-modules ./node_modules/.bin/jest --coverage" + "test": "node --experimental-vm-modules ./node_modules/.bin/jest" }, "devDependencies": { "@types/jest": "^29.5.12",