Skip to content

Commit

Permalink
test: ✅ add test to check whether type is part of the node attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinxin90 committed Feb 1, 2021
1 parent 7cf6119 commit 898c59e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions __test__/integration/KnowledgeGraph.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ describe("Testing KnowledgeGraph Module", () => {
expect(res).toHaveProperty("NCBIGene:1017");
expect(res["NCBIGene:1017"]).toHaveProperty("name", "CDK2");
expect(res["NCBIGene:1017"]).toHaveProperty("category", "biolink:Gene");
expect(res["NCBIGene:1017"].attributes[0]).toHaveProperty("type", "biolink:id");
})
})

Expand Down

0 comments on commit 898c59e

Please sign in to comment.