diff --git a/.gitignore b/.gitignore index 9dbf1dc..ee85b43 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ node_modules/ # Production build/ +coverage/ # Package Manager yarn.lock diff --git a/README.md b/README.md index a324fa6..ea61a1f 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,11 @@ alt="npm downloads" /> - - Tests status + + Tests status diff --git a/package.json b/package.json index b33a88b..f801475 100644 --- a/package.json +++ b/package.json @@ -36,9 +36,10 @@ "postpublish": "run-s clean:node", "prepublishOnly": "run-s clean build:node", "format": "prettier --write .", - "test": "vitest run" + "test": "vitest run --coverage" }, "devDependencies": { + "@vitest/coverage-v8": "^1.5.0", "gen-esm-wrapper": "^1.1.3", "globals": "^15.0.0", "npm-run-all2": "^6.1.2",