diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 325921f..079a8f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,3 +15,4 @@ jobs: uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3 with: license-check: true + lint: true diff --git a/.taprc b/.taprc new file mode 100644 index 0000000..eb6eb3e --- /dev/null +++ b/.taprc @@ -0,0 +1,2 @@ +files: + - test/**/*.test.js diff --git a/package.json b/package.json index 8c4d96f..c677151 100644 --- a/package.json +++ b/package.json @@ -27,9 +27,9 @@ "benchmark": "node test/benchmark.js", "coverage": "npm run unit -- --cov --coverage-report=html", "lint": "standard", - "unit": "tap test/test.js test/*.test.js --100", - "test": "npm run lint && npm run unit && npm run tsd", - "tsd": "tsd" + "test": "npm run lint && npm run test:unit && npm run test:typescript", + "test:typescript": "tsd", + "test:unit": "tap" }, "repository": { "type": "git", diff --git a/test/test.js b/test/index.test.js similarity index 100% rename from test/test.js rename to test/index.test.js