From 38d5b5b4faf2b776e73eede931baed39892ff9bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Mon, 9 Jul 2018 17:00:59 +0200 Subject: [PATCH 1/2] Configure Mocha to use dot reporter With 1965 tests, printing names of all tests is no longer useful. This commit switches to "dot" reporter which prints a single dot per test. --- test/mocha.opts | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/mocha.opts diff --git a/test/mocha.opts b/test/mocha.opts new file mode 100644 index 00000000..ff593c4d --- /dev/null +++ b/test/mocha.opts @@ -0,0 +1 @@ +--reporter dot From bc2689f58d656a4d8e146f777d02ae4523a3e4a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Mon, 9 Jul 2018 17:01:52 +0200 Subject: [PATCH 2/2] Hide nyc coverage from test output Configure nyc/istanbul to generate an HTML report that can be inspected in a browser instead of printing a long table after each test run. --- .nycrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.nycrc b/.nycrc index fd199844..9c81728d 100644 --- a/.nycrc +++ b/.nycrc @@ -2,5 +2,8 @@ "exclude": [ "test/**/*.js" ], + "reporter": [ + "html" + ], "cache": true }