Skip to content

Commit

Permalink
fix: Adapt require calls to new xmldom
Browse files Browse the repository at this point in the history
  • Loading branch information
fennibay committed Aug 30, 2021
1 parent 1a3c520 commit 3f7f50c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/JUnitXmlReporterSpec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* globals jasmine, describe, afterEach, beforeEach, it, expect */
var jasmineReporters = require("../index");
var DOMParser = require("xmldom").DOMParser;
var DOMParser = require("@xmldom/xmldom").DOMParser;

var env, suite,
reporter, writeCalls, suiteId=0, specId=0, noop=function(){};
Expand Down
2 changes: 1 addition & 1 deletion spec/NUnitXmlReporterSpec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* globals jasmine, describe, beforeEach, it, expect */
var jasmineReporters = require("../index");
var DOMParser = require("xmldom").DOMParser;
var DOMParser = require("@xmldom/xmldom").DOMParser;

var env, suite, subSuite, subSubSuite, siblingSuite,
reporter, writeCalls, suiteId=0, specId=0, noop=function(){};
Expand Down

0 comments on commit 3f7f50c

Please sign in to comment.