Skip to content

Commit ce9abcd

Browse files
LeonmanRollsclaude
andcommitted
fix: remove unused file and update verification protocol test
- Delete unused tryVerifyVerifiableCredentials.ts (fixes knip) - Update isVerificationProtocol.test.ts to test empty protocols array Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 04d0689 commit ce9abcd

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

src/hooks/verification/useVerifiedRecords/utils/parseVerificationData/utils/tryVerifyVerifiableCredentials.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/utils/verification/isVerificationProtocol.test.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@ import { describe, expect, it } from 'vitest'
33
import { isVerificationProtocol } from './isVerificationProtocol'
44

55
describe('isVerificationProtocol', () => {
6-
it.each(['dentity'])('should return true for protocol: %s', (protocol) => {
7-
expect(isVerificationProtocol(protocol)).toBeTruthy()
8-
})
9-
10-
it.each(['dentitwo'])('should return false for invalid protocol: %s', (protocol) => {
11-
expect(isVerificationProtocol(protocol)).not.toBeTruthy()
6+
// No verification protocols are currently configured
7+
it.each(['dentity', 'other', 'test'])('should return false for any protocol: %s', (protocol) => {
8+
expect(isVerificationProtocol(protocol)).toBeFalsy()
129
})
1310
})

0 commit comments

Comments
 (0)