Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

add json3 to json-cov and json-stream reporters

Christopher Hillera2968f0b17d8
diff --git a/lib/reporters/json-cov.js b/lib/reporters/json-cov.js
index 5a32569f..a1ead372 100644
--- a/lib/reporters/json-cov.js
+++ b/lib/reporters/json-cov.js
@@ -3,6 +3,7 @@
*/
var Base = require('./base');
+var JSON = require('json3');
/**
* Expose `JSONCov`.
diff --git a/lib/reporters/json-stream.js b/lib/reporters/json-stream.js
index 02399e7d..f07f8657 100644
--- a/lib/reporters/json-stream.js
+++ b/lib/reporters/json-stream.js
@@ -3,6 +3,7 @@
*/
var Base = require('./base');
+var JSON = require('json3');
/**
* Expose `List`.