Skip to content

Commit

Permalink
Replace libxmljs with libxmljs2
Browse files Browse the repository at this point in the history
  • Loading branch information
palmerj3 committed Apr 20, 2022
1 parent 55bfde8 commit 91358bc
Show file tree
Hide file tree
Showing 4 changed files with 182 additions and 338 deletions.
2 changes: 1 addition & 1 deletion __tests__/lib/setupTests.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const xml = require('xml');
const path = require('path');
const fs = require('fs');
const libxmljs = require('libxmljs');
const libxmljs = require('libxmljs2');

const schemaPath = path.join(__dirname, 'junit.xsd');
const schemaStr = fs.readFileSync(schemaPath);
Expand Down
2 changes: 1 addition & 1 deletion __tests__/testResultProcessor.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jest.mock('fs', () => {
});

const fs = require('fs');
const libxmljs = require('libxmljs');
const libxmljs = require('libxmljs2');
const path = require('path');

const testResultProcessor = require('../');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"devDependencies": {
"jest": "^27.2.3",
"libxmljs": "^0.19.7",
"libxmljs2": "^0.29.0",
"slash": "^3.0.0"
}
}
Loading

0 comments on commit 91358bc

Please sign in to comment.