diff --git a/bunfig.toml b/bunfig.toml new file mode 100644 index 0000000..119113b --- /dev/null +++ b/bunfig.toml @@ -0,0 +1,4 @@ +[test] + +# always enable coverage +coverage = true \ No newline at end of file diff --git a/package.json b/package.json index 4b6c107..c66d7d7 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "build:docs": "vite build --config vite-docs.config.js", "lint": "standard", "test": "bun test", - "coverage": "nyc --reporter=lcov --reporter=text-summary npm run test" + "coverage": "nyc --reporter=lcov --reporter=text-summary bun test --coverage" }, "author": "Juk V.", "license": "MIT",