Skip to content

Commit

Permalink
remove fast-xml-parser and reactivated drugbank loadfile test
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieulemieux committed Jan 6, 2025
1 parent a6e4290 commit 97c2505
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 42 deletions.
40 changes: 0 additions & 40 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"argparse": "^2.0.1",
"csv-parse": "^4.6.5",
"fast-csv": "^4.3.6",
"fast-xml-parser": "^4.5.1",
"html-to-text": "^5.1.1",
"http-status-codes": "^1.3.2",
"json-cycle": "^1.3.0",
Expand Down
2 changes: 1 addition & 1 deletion test/loadfile.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('diseaseOntology', () => {
});

describe('drugBank', () => {
test.skip('uploadFile', async () => {
test('uploadFile', async () => {
const filename = path.join(__dirname, 'data/drugbank_sample.xml');
await drugbank.uploadFile({ conn: api, filename });
expect(api.addRecord).toHaveBeenCalled();
Expand Down

0 comments on commit 97c2505

Please sign in to comment.