Skip to content

Commit 73be2b4

Browse files
committed
fix: update test
1 parent a06091a commit 73be2b4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/__tests__/core/verify.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,14 @@ describe.concurrent('W3C verify', () => {
237237
statusListIndex: '131072',
238238
},
239239
};
240-
240+
console.log(await verifyDocument(tampered));
241241
expect(await verifyDocument(tampered)).toEqual(
242242
expect.arrayContaining([
243243
expect.objectContaining({
244244
name: 'W3CCredentialStatus',
245245
reason: {
246+
code: 3,
247+
codeString: 'ERROR',
246248
message: 'Invalid statusListIndex: Index out of range: min=0, max=131071',
247249
},
248250
status: 'ERROR',

0 commit comments

Comments
 (0)