diff --git a/shared-libs/cht-datasource/.eslintrc.js b/shared-libs/cht-datasource/.eslintrc.js index 061b1e55a75..6fcd829d220 100644 --- a/shared-libs/cht-datasource/.eslintrc.js +++ b/shared-libs/cht-datasource/.eslintrc.js @@ -43,7 +43,8 @@ module.exports = { MethodDefinition: true, }, publicOnly: true, - }] + }], + ['jsdoc/check-tag-names']: ['error', { definedTags: ['typeParam'] }], } } ] diff --git a/shared-libs/cht-datasource/test/person.spec.ts b/shared-libs/cht-datasource/test/person.spec.ts index d9313840216..acca2a0658f 100644 --- a/shared-libs/cht-datasource/test/person.spec.ts +++ b/shared-libs/cht-datasource/test/person.spec.ts @@ -272,7 +272,7 @@ describe('person', () => { expect(isContactTypeQualifier.notCalled).to.be.true; }); - it('should throw an error for invalid personType', async () => { + it('should throw an error for invalid personType', () => { isContactTypeQualifier.returns(false); expect(() => Person.v1.getAll(dataContext)(personTypeQualifier))