]> git.ardis.lu - block-hash-calculator/commitdiff
Add test:coverage script
authorArdis Lu <ardisglu@gmail.com>
Tue, 4 Jun 2024 05:25:19 +0000 (22:25 -0700)
committerArdis Lu <ardisglu@gmail.com>
Tue, 4 Jun 2024 05:25:19 +0000 (22:25 -0700)
package.json

index 5072cf5ebbc85ce6ad73c3a0f00d4845ba1752a9..474e100c800716641b44c421a65fc15a773fb1e6 100644 (file)
@@ -6,7 +6,8 @@
   "scripts": {
     "build": "esbuild vendor.js --bundle --minify --format=esm --outfile=vendor.min.js",
     "pretest": "npm run build",
-    "test": "node --test"
+    "test": "node --test",
+    "test:coverage": "npm run test -- --experimental-test-coverage"
   },
   "devDependencies": {
     "@ethereumjs/rlp": "5.0.2",
This page took 0.033205 seconds and 4 git commands to generate.