Skip to content

Commit

Permalink
fix: changed test concept order based on NodeNorm priority
Browse files Browse the repository at this point in the history
  • Loading branch information
NeuralFlux committed Aug 9, 2024
1 parent e375b08 commit a8841bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/integration/sri_resolver.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ describe("Test SRI Resolver", () => {

test("Test handling semantic type conflicts", async () => {
let input = {
"SmallMolecule": ["PUBCHEM.COMPOUND:23680530"]
"MolecularMixture": ["PUBCHEM.COMPOUND:23680530"]
};
const res = await resolveSRI(input);

expect(res["PUBCHEM.COMPOUND:23680530"].primaryTypes.length).toBe(2);
expect(res["PUBCHEM.COMPOUND:23680530"].primaryTypes).toEqual(["MolecularMixture", "SmallMolecule"])
expect(res["PUBCHEM.COMPOUND:23680530"].primaryTypes).toEqual(["SmallMolecule", "MolecularMixture"])
});

test("Test large batch of inputs should be correctly resolved and should not give an error", async () => {
Expand Down

0 comments on commit a8841bf

Please sign in to comment.