From 5b80f1c2c3034e2a086ad800837cbeb0b8e219ed Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Mon, 9 Aug 2021 20:05:15 -0700 Subject: [PATCH] test(agoric): Add coverage script --- packages/agoric-cli/package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/agoric-cli/package.json b/packages/agoric-cli/package.json index a40b492ba3ac..c76a7e34fdfc 100644 --- a/packages/agoric-cli/package.json +++ b/packages/agoric-cli/package.json @@ -12,6 +12,7 @@ "scripts": { "build": "exit 0", "test": "ava", + "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", "test:xs": "exit 0", "integration-test": "ava --config .ava-integration-test.config.js", "lint-check": "yarn lint", @@ -21,6 +22,7 @@ "devDependencies": { "@agoric/swingset-vat": "^0.19.0", "ava": "^3.12.1", + "c8": "^7.7.2", "tmp": "^0.1.0" }, "dependencies": {