1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix istanbul test coverage generation

This commit is contained in:
Nick O'Leary 2018-10-25 13:36:57 +01:00
parent 1ac18d7b33
commit 7cffa1ece7
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -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"]},