Skip to content

Commit

Permalink
test: update test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Mar 1, 2024
1 parent 93f371b commit 1f40b47
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions __test__/integration/class_tree.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ describe("Test BioLink Class Tree class", () => {
[
tree.objects.SmallMolecule,
tree.objects.NucleicAcidEntity,
tree.objects.Exon,
tree.objects.Transcript,
tree.objects.RnaProduct,
tree.objects.RnaProductIsoform,
tree.objects.NoncodingRnaProduct,
tree.objects.MicroRna,
tree.objects.SiRna,
tree.objects.CodingSequence
// tree.objects.Exon,
// tree.objects.Transcript,
// tree.objects.RnaProduct,
// tree.objects.RnaProductIsoform,
// tree.objects.NoncodingRnaProduct,
// tree.objects.MicroRna,
// tree.objects.SiRna,
// tree.objects.CodingSequence
]
);
expect(tree.objects.NamedThing).not.toBeUndefined;
Expand Down
6 changes: 3 additions & 3 deletions __test__/integration/slot_tree.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ describe("Test BioLink Slot Tree class", () => {
'affects_response_to',
'regulates',
'disrupts',
'ameliorates',
'exacerbates',
'ameliorates_condition',
'exacerbates_condition',
'has_adverse_event',
'has_side_effect',
]);
Expand All @@ -47,7 +47,7 @@ describe("Test BioLink Slot Tree class", () => {
test("Test non-explicit inverses are correctly inferred", () => {
tree.construct();
expect(tree.objects.treats.inverse).toEqual("treated_by");
expect(tree.objects.prevents.inverse).toEqual("prevented_by");
expect(tree.objects.preventative_for_condition.inverse).toEqual("condition_prevented_by");
expect(tree.objects.catalyzes.inverse).toEqual('has_catalyst');
})
})
Expand Down

0 comments on commit 1f40b47

Please sign in to comment.