From a97cf6abbe40d0df4d9d5758b76f865d5cd3f0a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20K=C3=B6ssler?= Date: Wed, 2 Oct 2024 10:07:37 +0200 Subject: [PATCH] Fix tap args --- library/package.json | 2 +- scripts/run-tap.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library/package.json b/library/package.json index ad8675b4a..15e3cc4cf 100644 --- a/library/package.json +++ b/library/package.json @@ -100,7 +100,7 @@ "lint": "npm run lint-eslint && npm run lint-tsc", "lint-eslint": "eslint '**/*.ts'", "lint-tsc": "tsc --noEmit", - "test:esm": "npx tap --tsconfig ./tsconfig.esm-test.json '!(*node_modules)/**/*.test.mjs'" + "test:esm": "npx tap --tsconfig ./tsconfig.esm-test.json --allow-incomplete-coverage --coverage-report=lcov '!(*node_modules)/**/*.test.mjs'" }, "dependencies": { "import-in-the-middle": "^1.11.1" diff --git a/scripts/run-tap.js b/scripts/run-tap.js index cee877b1d..796bdc849 100644 --- a/scripts/run-tap.js +++ b/scripts/run-tap.js @@ -15,7 +15,7 @@ if (major === 22 && minor >= 5) { args += " --node-arg=--experimental-sqlite --node-arg=--no-warnings"; } -execSync(`tap ${args}`, { +execSync(`tap ${args} '!(*node_modules)/**/*.test.ts'`, { stdio: "inherit", env: { ...process.env, AIKIDO_CI: "true" }, });