Skip to content

Commit 25f6c11

Browse files
ci(identity-service): run read-only lint check (#190)
Signed-off-by: Alexander Shenshin <alexander.shenshin@dsr-corporation.com> Co-authored-by: Anshul Jain <anshuljain532006@gmail.com>
1 parent 39348c2 commit 25f6c11

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/heka-identity-service-verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: yarn check-types
6969

7070
- name: Run ESLint
71-
run: yarn lint
71+
run: yarn lint-check
7272

7373
- name: Run tests
7474
env:

heka-identity-service/src/issuance-template/__tests__/issuance-template.service.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,9 @@ describe('IssuanceTemplateService', () => {
299299
schema: { id: 'schema-1', fields: [] },
300300
fields: { length: 0, removeAll: vi.fn() },
301301
}
302-
vi.mocked(em.findOne).mockResolvedValueOnce(mockTemplate).mockResolvedValueOnce({ id: 'other-tpl' } as any)
302+
vi.mocked(em.findOne)
303+
.mockResolvedValueOnce(mockTemplate)
304+
.mockResolvedValueOnce({ id: 'other-tpl' } as any)
303305

304306
await expect(service.patch(authInfo, 'tpl-1', { name: 'Taken Name' } as any)).rejects.toThrow(BadRequestException)
305307
expect(em.findOne).toHaveBeenNthCalledWith(

heka-identity-service/src/openid4vc/verification-sessions/__tests__/credential-verification.dto.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,3 @@ describe('OpenId4VcVerificationSessionCreateRequestDto', () => {
5151
expect(errors[0]?.constraints?.isEnum).toBeDefined()
5252
})
5353
})
54-

0 commit comments

Comments
 (0)