From ce9cfe8f7e7c29e16c05095366e356f3599bcc72 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Mon, 13 Feb 2017 20:13:33 -0600 Subject: [PATCH] Fixes junit reporter throws ReferenceError --- lib/reporters/junit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reporters/junit.js b/lib/reporters/junit.js index 2f2458dbb..d8c0a5bfb 100644 --- a/lib/reporters/junit.js +++ b/lib/reporters/junit.js @@ -148,7 +148,7 @@ exports.run = function (files, opts, callback) { for(var k in modules) { var module = modules[k]; var rendered = ejs.render(tmpl, { - locals: {suites: [module]} + suites: [module] }); var filename = path.resolve( opts.output,