Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Oct 20, 2023
1 parent 4653fb4 commit 7189c28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions __test__/integration/TRAPIQueryHandler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,12 @@ describe('Testing TRAPIQueryHandler Module', () => {
});
const queryHandler = new TRAPIQueryHandler(
{},
path.resolve(__dirname, '../../../../../data/smartapi_specs.json'),
path.resolve(__dirname, '../../../../../data/predicates.json'),
path.resolve(__dirname, '../../../bte-server/data/smartapi_specs.json'),
path.resolve(__dirname, '../../../bte-server/data/predicates.json'),
);
queryHandler.setQueryGraph(OneHopQuery);
await queryHandler.query();
expect(queryHandler.knowledgeGraph.kg).toHaveProperty('nodes');
});
}, 10000);
});
});
1 change: 1 addition & 0 deletions __test__/unittest/TRAPIQueryHandler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ describe('test TRAPIQueryHandler methods', () => {
name: 'fake API',
},
],
exclude: []
},
});
const unregisteredAPIs = await handler.findUnregisteredAPIs();
Expand Down

0 comments on commit 7189c28

Please sign in to comment.