Merge branch 'master' into feat/improve-oid4vc-error-message #1692
42 passed, 3 failed and 0 skipped
❌ reports/jest-junit.xml
45 tests were completed in 519s with 42 passed, 3 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
✅ 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
Error: thrown: "Exceeded timeout of 240000 ms for a hook.
❌ should add document to mumbai without affecting polygon
Error: thrown: "Exceeded timeout of 240000 ms for a hook.
✅ 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
✅ 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/cheqd-revocation.test.ts
BBS+ revocation cheqd
✅ should verify a revokable bbs+ credential issued on cheqd
✅ integration-tests/verification-flow/range-proofs.test.ts
Range proofs verification
✅ should verify range proofs presentation without subject
❌ 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 7 in integration-tests/custom-networks.test.ts
github-actions / Integration Test Report
integration-tests/custom-networks.test.ts ► Custom networks ► should have documents only on mainnet
Failed test found in:
reports/jest-junit.xml
Error:
Error: thrown: "Exceeded timeout of 240000 ms for a hook.
Raw output
Error: thrown: "Exceeded timeout of 240000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
at /home/runner/work/react-native-sdk/react-native-sdk/integration-tests/custom-networks.test.ts:43:3
at _dispatchDescribe (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-circus/build/index.js:91:26)
at describe (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-circus/build/index.js:55:5)
at Object.<anonymous> (/home/runner/work/react-native-sdk/react-native-sdk/integration-tests/custom-networks.test.ts:7:1)
at Runtime._execModule (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runtime/build/index.js:1439:24)
at Runtime._loadModule (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runtime/build/index.js:1022:12)
at Runtime.requireModule (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runtime/build/index.js:882:12)
at jestAdapter (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
at runTestInternal (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runner/build/runTest.js:444:34)
Check failure on line 7 in integration-tests/custom-networks.test.ts
github-actions / Integration Test Report
integration-tests/custom-networks.test.ts ► Custom networks ► should add document to mumbai without affecting polygon
Failed test found in:
reports/jest-junit.xml
Error:
Error: thrown: "Exceeded timeout of 240000 ms for a hook.
Raw output
Error: thrown: "Exceeded timeout of 240000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
at /home/runner/work/react-native-sdk/react-native-sdk/integration-tests/custom-networks.test.ts:43:3
at _dispatchDescribe (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-circus/build/index.js:91:26)
at describe (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-circus/build/index.js:55:5)
at Object.<anonymous> (/home/runner/work/react-native-sdk/react-native-sdk/integration-tests/custom-networks.test.ts:7:1)
at Runtime._execModule (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runtime/build/index.js:1439:24)
at Runtime._loadModule (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runtime/build/index.js:1022:12)
at Runtime.requireModule (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runtime/build/index.js:882:12)
at jestAdapter (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
at runTestInternal (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runner/build/runTest.js:444:34)
Check failure on line 428 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:428: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)