From 7cffa1ece785e08d02ba44a1e8a7e7847622e1e3 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Thu, 25 Oct 2018 13:36:57 +0100 Subject: [PATCH] Fix istanbul test coverage generation --- Gruntfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index f4845c736..1d345c5de 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -57,7 +57,8 @@ module.exports = function(grunt) { ignoreLeaks: false, ui: 'bdd', reportFormats: ['lcov','html'], - print: 'both' + print: 'both', + istanbulOptions: ['--no-default-excludes', '-i','**/packages/node_modules/**'] }, all: { src: ["test/unit/_spec.js","test/unit/**/*_spec.js","test/nodes/**/*_spec.js"] }, core: { src: ["test/unit/_spec.js","test/unit/**/*_spec.js"]},