diff --git a/.taprc b/.taprc.yaml similarity index 60% rename from .taprc rename to .taprc.yaml index fa972ed15..7c11ab9d6 100644 --- a/.taprc +++ b/.taprc.yaml @@ -1,3 +1,6 @@ coverage: true timeout: 480 check-coverage: false + +files: + - 'test/**/*.test.js' diff --git a/package.json b/package.json index 9e0501406..3873e88e7 100644 --- a/package.json +++ b/package.json @@ -23,12 +23,12 @@ "docs": "docsify serve", "browser-test": "airtap --local 8080 test/browser*test.js", "lint": "eslint .", - "test": "npm run lint && tap test/*test.js test/*/*test.js && jest test/jest && npm run test-types", - "test-ci": "npm run lint && tap --no-check-coverage test/*test.js test/*/*test.js --coverage-report=lcovonly && npm run test-types", - "test-ci-pnpm": "pnpm run lint && tap --no-coverage --no-check-coverage test/*test.js test/*/*test.js && pnpm run test-types", - "test-ci-yarn-pnp": "yarn run lint && tap --no-check-coverage test/*test.js test/*/*test.js --coverage-report=lcovonly", + "test": "npm run lint && tap && jest test/jest && npm run test-types", + "test-ci": "npm run lint && tap --no-check-coverage --coverage-report=lcovonly && npm run test-types", + "test-ci-pnpm": "pnpm run lint && tap --no-coverage --no-check-coverage && pnpm run test-types", + "test-ci-yarn-pnp": "yarn run lint && tap --no-check-coverage --coverage-report=lcovonly", "test-types": "tsc && tsd && ts-node test/types/pino.ts", - "cov-ui": "tap --coverage-report=html test/*test.js test/*/*test.js", + "cov-ui": "tap --coverage-report=html", "bench": "node benchmarks/utils/runbench all", "bench-basic": "node benchmarks/utils/runbench basic", "bench-object": "node benchmarks/utils/runbench object",