Skip to content

Commit

Permalink
Fix eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sugat009 committed Aug 8, 2024
1 parent 60604a5 commit 3eeb049
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion shared-libs/cht-datasource/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ module.exports = {
MethodDefinition: true,
},
publicOnly: true,
}]
}],
['jsdoc/check-tag-names']: ['error', { definedTags: ['typeParam'] }],
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion shared-libs/cht-datasource/test/person.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 3eeb049

Please sign in to comment.