diff --git a/back/tests.js b/back/tests.js index fc545713ca..71b98ce3df 100644 --- a/back/tests.js +++ b/back/tests.js @@ -42,8 +42,8 @@ async function test() { })); if (isCI) { - const reporters = require('jasmine-reporters'); - reporters.push(new reporters.JUnitXmlReporter()); + const junitReporter = require('jasmine-reporters'); + reporters.push(new junitReporter.JUnitXmlReporter()); } const Jasmine = require('jasmine');