diff --git a/examples/integration-scripts/credentials.test.ts b/examples/integration-scripts/credentials.test.ts index 61f9a124..28c9fbd0 100644 --- a/examples/integration-scripts/credentials.test.ts +++ b/examples/integration-scripts/credentials.test.ts @@ -447,4 +447,17 @@ test('single signature credentials', async () => { assert.equal(issuerCredential.status.s, '1'); }); + + await step('Holder has revoked QVI credential', async () => { + await retry( + async () => { + const holderCredential = await holderClient + .credentials() + .get(holderAid.name, qviCredentialId); + + assert.equal(holderCredential.status.s, '1'); + }, + { timeout: 3000 } + ); + }); }, 90000);