Skip to content

Commit

Permalink
update tests for stardog v10 (#308)
Browse files Browse the repository at this point in the history
* update tests for stardog v10

* try --runInBand

* upgrade fetch-ponyfill to fix "socket hang up" bug

* Revert "try --runInBand"

This reverts commit 9b84355.

---------

Co-authored-by: SpiralP <spiral.palmer@gmail.com>
  • Loading branch information
anneeb and SpiralP committed Apr 22, 2024
1 parent 347dbdd commit 46da9bb
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 12 deletions.
44 changes: 33 additions & 11 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -74,7 +74,7 @@
"url": "https://github.com/stardog-union/stardog.js/issues"
},
"dependencies": {
"fetch-ponyfill": "^6.0.0",
"fetch-ponyfill": "^6.1.1",
"flat": "^5.0.2",
"form-data": "^2.2.0",
"isomorphic-base64": "^1.0.2",
Expand Down
6 changes: 6 additions & 0 deletions test/setup-database.js
Expand Up @@ -19,6 +19,12 @@ exports.seedDatabase = (database, options = {}, addlFiles = []) => () => {
index: {
type: 'disk',
},
// override new default value in v10.0.0+ since tests were mostly written before then
reasoning: {
schema: {
graphs: 'tag:stardog:api:context:local',
},
},
}),
{
// Load everything into the DB
Expand Down

0 comments on commit 46da9bb

Please sign in to comment.