Skip to content

Commit

Permalink
Merge pull request #38 from TREEcg/test/mock-fetch
Browse files Browse the repository at this point in the history
Mock fetch in unit tests to not rely on external sources
  • Loading branch information
smessie authored Feb 17, 2025
2 parents be313bc + daa61a7 commit dc28546
Show file tree
Hide file tree
Showing 6 changed files with 426 additions and 202 deletions.
159 changes: 137 additions & 22 deletions package-lock.json

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

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"license": "MIT",
"dependencies": {
"@treecg/types": "^0.4.5",
"rdf-dereference": "4.x",
"debug": "^4.3.4",
"jsdom": "^23.0.1",
"n3": "^1.23.1",
"rdf-data-factory": "^1.1.2",
"rdf-dereference": "4.x",
"rdf-stores": "^1.0.0"
},
"devDependencies": {
Expand All @@ -42,8 +42,9 @@
"mocha": "^10.2.0",
"pako": "^2.1.0",
"rollup-plugin-polyfill-node": "^0.12.0",
"sinon": "^19.0.2",
"systeminformation": "^5.21.20",
"typescript": "5.5.4",
"ts-node": "^10.9.1"
"ts-node": "^10.9.1",
"typescript": "5.5.4"
}
}
Loading

0 comments on commit dc28546

Please sign in to comment.