From 1f40b47da218aa19170eefc0797cd7e97f9c433c Mon Sep 17 00:00:00 2001 From: tokebe <43009413+tokebe@users.noreply.github.com> Date: Fri, 1 Mar 2024 16:00:32 -0500 Subject: [PATCH] test: update test expectations --- __test__/integration/class_tree.test.ts | 16 ++++++++-------- __test__/integration/slot_tree.test.ts | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/__test__/integration/class_tree.test.ts b/__test__/integration/class_tree.test.ts index 5c1b591..dc53047 100644 --- a/__test__/integration/class_tree.test.ts +++ b/__test__/integration/class_tree.test.ts @@ -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; diff --git a/__test__/integration/slot_tree.test.ts b/__test__/integration/slot_tree.test.ts index 4b1dd28..d6c2d6b 100644 --- a/__test__/integration/slot_tree.test.ts +++ b/__test__/integration/slot_tree.test.ts @@ -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', ]); @@ -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'); }) })