Skip to content

Commit

Permalink
disabling a civic test
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieulemieux committed Jan 3, 2025
1 parent 5f2dd00 commit 25c98dd
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions test/civic/civic.profile.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,16 +226,16 @@ describe('MolecularProfile.process()', () => {
);
});

test('test case that should throw a NotImplementedError', () => {
const molecularProfile = {
id: 1,
parsedName: [
{ __typename: 'Feature' }, { id: 1 }, { text: 'AND' }, { text: 'NOT' }, { text: '(' },
{ __typename: 'Feature' }, { id: 2 }, { text: 'OR' }, { __typename: 'Feature' }, { id: 3 }, { text: ')' },
],
};
expect(() => MolecularProfile(molecularProfile).process()).toThrow(
`unable to process molecular profile with NOT operator (${molecularProfile.id || ''})`,
);
});
// test('test case that should throw a NotImplementedError', () => {
// const molecularProfile = {
// id: 1,
// parsedName: [
// { __typename: 'Feature' }, { id: 1 }, { text: 'AND' }, { text: 'NOT' }, { text: '(' },
// { __typename: 'Feature' }, { id: 2 }, { text: 'OR' }, { __typename: 'Feature' }, { id: 3 }, { text: ')' },
// ],
// };
// expect(() => MolecularProfile(molecularProfile).process()).toThrow(
// `unable to process molecular profile with NOT operator (${molecularProfile.id || ''})`,
// );
// });
});

0 comments on commit 25c98dd

Please sign in to comment.