Skip to content

Commit

Permalink
Don't use specific localIds in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
elsaperelli committed Aug 29, 2023
1 parent 69d7542 commit b235d1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/elm/clinical/clinical-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@ describe('AnyInValueSet', () => {

it('should call execute on codes which is a list of concepts', async function () {
(await this.anyInListOfConcepts.exec(this.ctx)).should.be.true();
should(this.ctx.localId_context[12]).not.be.undefined();
should(this.ctx.localId_context[this.anyInListOfConcepts.codes.localId]).not.be.undefined();
});

it('should call execute on codes which is a list of codes', async function () {
(await this.anyInListOfCodes.exec(this.ctx)).should.be.true();
should(this.ctx.localId_context[18]).not.be.undefined();
should(this.ctx.localId_context[this.anyInListOfCodes.codes.localId]).not.be.undefined();
});

it('should call execute on codes which is a list of strings', async function () {
(await this.anyInListOfStrings.exec(this.ctx)).should.be.true();
should(this.ctx.localId_context[24]).not.be.undefined();
should(this.ctx.localId_context[this.anyInListOfStrings.codes.localId]).not.be.undefined();
});
});

Expand Down

0 comments on commit b235d1a

Please sign in to comment.