Skip to content

Update README.md

Update README.md #423

GitHub Actions / Integration Test Report failed Jan 2, 2025 in 0s

41 passed, 3 failed and 0 skipped

Tests failed

❌ reports/jest-junit.xml

44 tests were completed in 267s with 41 passed, 3 failed and 0 skipped.

Test suite Passed Failed Skipped Time
integration-tests/accounts.test.ts 4✅ 9s
integration-tests/biometric-plugin.test.ts 4✅ 12s
integration-tests/cheqd-credentials.test.ts 1✅ 24s
integration-tests/cloud-wallet.test.ts 6✅ 22s
integration-tests/credential-distribution.test.ts 2✅ 21s
integration-tests/credentials.test.ts 2✅ 8s
integration-tests/custom-networks.test.ts 2✅ 9s
integration-tests/ecosystem-tools.test.ts 2✅ 8s
integration-tests/subscan.test.ts 1✅ 1s
integration-tests/switch-wallet.test.ts 2✅ 12s
integration-tests/transactions.test.ts 3✅ 9s
integration-tests/verification-flow/bbs-plus-expired.test.ts 1✅ 8s
integration-tests/verification-flow/bbs-plus-revocation.test.ts 1✅ 1❌ 11s
integration-tests/verification-flow/bbs-plus-valid.test.ts 1✅ 9s
integration-tests/verification-flow/range-proofs.test.ts 1❌ 29s
integration-tests/verification-flow/sales-demo-auto-loan.test.ts 1❌ 31s
integration-tests/verification-flow/vpi-verification.test.ts 1✅ 9s
integration-tests/wallet-backup.test.ts 2✅ 8s
integration-tests/wallet-snapshot-v1.test.ts 5✅ 7s
integration-tests/wallet-to-wallet-verification.test.ts 1✅ 21s

✅ integration-tests/accounts.test.ts

Accounts
  ✅ expect to have created accounts
  ✅ expect to have valid KeyringPair on each account
  ✅ expect to import account from mnemonic
  ✅ expect to import account from JSON

✅ integration-tests/biometric-plugin.test.ts

Biometric Plugin
  ✅ should create enrollment credential
  ✅ should create bbs+ biometric match credential
  ✅ should remove old biometric match credential
  ✅ should create vpi biometric match credential

✅ integration-tests/cheqd-credentials.test.ts

Cheq integration tests
  ✅ should verify a non ZKP cheqd credential

✅ integration-tests/cloud-wallet.test.ts

Cloud wallet
  ✅ should see a document added directly to the EDV appear in the wallet after pulling
  ✅ should sync a document added to the wallet to the EDV
  ✅ should update a document in the wallet and see it updated in the EDV
  ✅ should remove a document from the wallet and see it removed from the EDV
  ✅ should have zero sync marker diff after pushing sync marker
  ✅ should detect sync marker diff after updating sync marker directly in EDV

✅ integration-tests/credential-distribution.test.ts

Credential Distribution
  ✅ should receive a credential issued to the wallet DID
  ✅ should receive multiple credentials issued to multiple wallet DIDs

✅ integration-tests/credentials.test.ts

Credentials
  ✅ expect to import credentials
Credentials › credential status
  ✅ expect mainnet credential to have "Invalid" status on tesnet

✅ integration-tests/custom-networks.test.ts

Custom networks
  ✅ should have documents only on mainnet
  ✅ should add document to mumbai without affecting polygon

✅ integration-tests/ecosystem-tools.test.ts

BBS+ presentations
  ✅ should fetch ecosystem tools for the given issuer
  ✅ should fetch verifiers for the given registry

✅ integration-tests/subscan.test.ts

subscan integration
  ✅ should fetch transactions using subscan APIs

✅ integration-tests/switch-wallet.test.ts

Switch wallet
  ✅ expect switch to tesnet and have an empty wallet
  ✅ expect switch to tesnet and have an empty wallet

✅ integration-tests/transactions.test.ts

Transactions
  ✅ should get account balance
  ✅ should get transaction fee
  ✅ should fetch transaction history

✅ integration-tests/verification-flow/bbs-plus-expired.test.ts

BBS+ presentations
  ✅ should fail to verify expired credential

❌ integration-tests/verification-flow/bbs-plus-revocation.test.ts

BBS+ revocation
  ❌ should verify a revokable bbs+ credential
	Error: expect(received).toBe(expected) // Object.is equality
  ✅ should verify a revokable bbs+ credential with an updated witness

✅ integration-tests/verification-flow/bbs-plus-valid.test.ts

BBS+ presentations
  ✅ should verify valid bbs+ credential

❌ integration-tests/verification-flow/range-proofs.test.ts

Range proofs verification
  ❌ should verify range proofs presentation without subject
	Error: Request failed with status code 400

❌ integration-tests/verification-flow/sales-demo-auto-loan.test.ts

BBS+ presentations
  ❌ should verify an auto loan proof request
	Error: Attribute credentialSubject.credit_score not found in schema

✅ integration-tests/verification-flow/vpi-verification.test.ts

VPI verification
  ✅ should verify a vpi credential

✅ integration-tests/wallet-backup.test.ts

Wallet backups
  ✅ expect to import wallet from backup
  ✅ expect to export wallet backup

✅ integration-tests/wallet-snapshot-v1.test.ts

Wallet Snapshot V1
  ✅ expect to have load all documents
  ✅ expect to have load accounts
  ✅ expect to have loaded DIDs
  ✅ expect to have loaded credentials
  ✅ expect to have loaded Verification Templates

✅ integration-tests/wallet-to-wallet-verification.test.ts

Wallet to Wallet Verification
  ✅ should get OOB message to be shared as QR code

Annotations

Check failure on line 58 in integration-tests/verification-flow/bbs-plus-revocation.test.ts

See this annotation in the file changed.

@github-actions github-actions / Integration Test Report

integration-tests/verification-flow/bbs-plus-revocation.test.ts ► BBS+ revocation ► should verify a revokable bbs+ credential

Failed test found in:
  reports/jest-junit.xml
Error:
  Error: expect(received).toBe(expected) // Object.is equality
Raw output
Error: expect(received).toBe(expected) // Object.is equality

Expected: true
Received: undefined
    at Object.<anonymous> (/home/runner/work/react-native-sdk/react-native-sdk/integration-tests/verification-flow/bbs-plus-revocation.test.ts:58:36)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in reports/jest-junit.xml

See this annotation in the file changed.

@github-actions github-actions / Integration Test Report

integration-tests/verification-flow/range-proofs.test.ts ► Range proofs verification ► should verify range proofs presentation without subject

Failed test found in:
  reports/jest-junit.xml
Error:
  Error: Request failed with status code 400
Raw output
Error: Request failed with status code 400
    at createError (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/axios/lib/adapters/http.js:312:11)
    at IncomingMessage.emit (node:events:523:35)
    at IncomingMessage.emit (node:domain:489:12)
    at endReadableNT (node:internal/streams/readable:1367:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)

Check failure on line 419 in packages/wasm/src/services/credential/service.ts

See this annotation in the file changed.

@github-actions github-actions / Integration Test Report

integration-tests/verification-flow/sales-demo-auto-loan.test.ts ► BBS+ presentations ► should verify an auto loan proof request

Failed test found in:
  reports/jest-junit.xml
Error:
  Error: Attribute credentialSubject.credit_score not found in schema
Raw output
Error: Attribute credentialSubject.credit_score not found in schema
    at updateEncodedAttrs (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@docknetwork/crypto-wasm-ts/src/anonymous-credentials/presentation-builder.ts:605:17)
    at PresentationBuilder.updateEncodedAttrs [as finalize] (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@docknetwork/crypto-wasm-ts/src/anonymous-credentials/presentation-builder.ts:642:11)
    at Object.<anonymous>.module.exports.finalize [as createPresentation] (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@docknetwork/sdk/presentation.cjs:1:2788)
    at Object.<anonymous>.module.exports.createPresentation [as deriveCredentials] (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@docknetwork/sdk/presentation.cjs:1:4203)
    at CredentialService.deriveVCFromPresentation (/home/runner/work/react-native-sdk/react-native-sdk/packages/wasm/src/services/credential/service.ts:419:60)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.createPresentation (/home/runner/work/react-native-sdk/react-native-sdk/packages/core/src/verification-controller.ts:175:11)
    at Object.<anonymous> (/home/runner/work/react-native-sdk/react-native-sdk/integration-tests/verification-flow/sales-demo-auto-loan.test.ts:343:26)