From 5d81cecd83182f8acb8f03bf5e07d7f041047d01 Mon Sep 17 00:00:00 2001 From: Mathias Schreck Date: Fri, 4 Oct 2019 15:17:26 +0200 Subject: [PATCH] Run benchmarks as part of npm test --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 89732f1..6430b04 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ ], "scripts": { "pretest": "eslint .", - "test": "npm run test:unit:with-coverage", + "test": "npm run test:unit:with-coverage && npm run test:bench", "test:unit": "mocha test --recursive --reporter dot", "test:unit:with-coverage": "nyc npm run test:unit", "test:bench": "mocha benchmarks",