Update README.md #1673
35 passed, 9 failed and 0 skipped
❌ reports/jest-junit.xml
44 tests were completed in 208s with 35 passed, 9 failed and 0 skipped.
❌ 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
ConnectionIsNotSetError: Connection with sqlite database is not established. Check connection configuration.
✅ 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
Error: Request failed with status code 402
✅ 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
Error: Request failed with status code 402
❌ should receive multiple credentials issued to multiple wallet DIDs
Error: Request failed with status code 402
✅ 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: Request failed with status code 402
❌ should verify a revokable bbs+ credential with an updated witness
Error: Request failed with status code 402
✅ 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 402
❌ 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
Error: Request failed with status code 402
✅ 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 28 in packages/data-store-typeorm/src/entities/document/helpers.ts
github-actions / Integration Test Report
integration-tests/accounts.test.ts ► Accounts ► expect to import account from JSON
Failed test found in:
reports/jest-junit.xml
Error:
ConnectionIsNotSetError: Connection with sqlite database is not established. Check connection configuration.
Raw output
ConnectionIsNotSetError: Connection with sqlite database is not established. Check connection configuration.
at SqliteQueryRunner.query (/home/runner/work/react-native-sdk/react-native-sdk/src/driver/sqlite/SqliteQueryRunner.ts:62:19)
at SelectQueryBuilder.loadRawResults (/home/runner/work/react-native-sdk/react-native-sdk/src/query-builder/SelectQueryBuilder.ts:3789:43)
at SelectQueryBuilder.executeEntitiesAndRawResults (/home/runner/work/react-native-sdk/react-native-sdk/src/query-builder/SelectQueryBuilder.ts:3541:37)
at SelectQueryBuilder.getRawAndEntities (/home/runner/work/react-native-sdk/react-native-sdk/src/query-builder/SelectQueryBuilder.ts:1670:40)
at SelectQueryBuilder.getOne (/home/runner/work/react-native-sdk/react-native-sdk/src/query-builder/SelectQueryBuilder.ts:1697:36)
at EntityManager.findOne (/home/runner/work/react-native-sdk/react-native-sdk/src/entity-manager/EntityManager.ts:1193:14)
at Repository.findOne (/home/runner/work/react-native-sdk/react-native-sdk/src/repository/Repository.ts:577:29)
at getOrCreateDocumentTypes (/home/runner/work/react-native-sdk/react-native-sdk/packages/data-store-typeorm/src/entities/document/helpers.ts:28:47)
at toDocumentEntity (/home/runner/work/react-native-sdk/react-native-sdk/packages/data-store-typeorm/src/entities/document/helpers.ts:75:28)
at updateDocument (/home/runner/work/react-native-sdk/react-native-sdk/packages/data-store-typeorm/src/entities/document/update-document.ts:17:57)
at Object.updateDocument (/home/runner/work/react-native-sdk/react-native-sdk/packages/data-store-typeorm/src/index.ts:34:54)
at Object.updateDocument (/home/runner/work/react-native-sdk/react-native-sdk/packages/core/src/wallet.ts:83:38)
at syncCredentialStatus (/home/runner/work/react-native-sdk/react-native-sdk/packages/core/src/credential-provider.ts:177:22)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in reports/jest-junit.xml
github-actions / Integration Test Report
integration-tests/cheqd-credentials.test.ts ► Cheq integration tests ► should verify a non ZKP cheqd credential
Failed test found in:
reports/jest-junit.xml
Error:
Error: Request failed with status code 402
Raw output
Error: Request failed with status code 402
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 0 in reports/jest-junit.xml
github-actions / Integration Test Report
integration-tests/credential-distribution.test.ts ► Credential Distribution ► should receive a credential issued to the wallet DID
Failed test found in:
reports/jest-junit.xml
Error:
Error: Request failed with status code 402
Raw output
Error: Request failed with status code 402
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 0 in reports/jest-junit.xml
github-actions / Integration Test Report
integration-tests/credential-distribution.test.ts ► Credential Distribution ► should receive multiple credentials issued to multiple wallet DIDs
Failed test found in:
reports/jest-junit.xml
Error:
Error: Request failed with status code 402
Raw output
Error: Request failed with status code 402
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 0 in reports/jest-junit.xml
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: Request failed with status code 402
Raw output
Error: Request failed with status code 402
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 0 in reports/jest-junit.xml
github-actions / Integration Test Report
integration-tests/verification-flow/bbs-plus-revocation.test.ts ► BBS+ revocation ► should verify a revokable bbs+ credential with an updated witness
Failed test found in:
reports/jest-junit.xml
Error:
Error: Request failed with status code 402
Raw output
Error: Request failed with status code 402
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 0 in reports/jest-junit.xml
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 402
Raw output
Error: Request failed with status code 402
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
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)
Check failure on line 0 in reports/jest-junit.xml
github-actions / Integration Test Report
integration-tests/verification-flow/vpi-verification.test.ts ► VPI verification ► should verify a vpi credential
Failed test found in:
reports/jest-junit.xml
Error:
Error: Request failed with status code 402
Raw output
Error: Request failed with status code 402
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)