Skip to content

fixing tests

fixing tests #1642

GitHub Actions / Integration Test Report failed Dec 9, 2024 in 1s

43 passed, 2 failed and 0 skipped

Tests failed

❌ reports/jest-junit.xml

45 tests were completed in 434s with 43 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
integration-tests/accounts.test.ts 4✅ 18s
integration-tests/biometric-plugin.test.ts 4✅ 21s
integration-tests/cheqd-credentials.test.ts 2❌ 36s
integration-tests/cloud-wallet.test.ts 6✅ 23s
integration-tests/credential-distribution.test.ts 2✅ 30s
integration-tests/credentials.test.ts 2✅ 18s
integration-tests/custom-networks.test.ts 2✅ 8s
integration-tests/ecosystem-tools.test.ts 2✅ 17s
integration-tests/subscan.test.ts 1✅ 1s
integration-tests/switch-wallet.test.ts 2✅ 30s
integration-tests/transactions.test.ts 3✅ 19s
integration-tests/verification-flow/bbs-plus-expired.test.ts 1✅ 17s
integration-tests/verification-flow/bbs-plus-revocation.test.ts 2✅ 32s
integration-tests/verification-flow/bbs-plus-valid.test.ts 1✅ 17s
integration-tests/verification-flow/range-proofs.test.ts 1✅ 37s
integration-tests/verification-flow/sales-demo-auto-loan.test.ts 1✅ 38s
integration-tests/verification-flow/vpi-verification.test.ts 1✅ 18s
integration-tests/wallet-backup.test.ts 2✅ 8s
integration-tests/wallet-snapshot-v1.test.ts 5✅ 17s
integration-tests/wallet-to-wallet-verification.test.ts 1✅ 28s

✅ 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
	Error: expect(received).toBe(expected) // Object.is equality
  ❌ should verify a ZKP cheqd credential
	Error: expect(received).toBe(expected) // Object.is equality

✅ 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
  ✅ 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

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

BBS+ presentations
  ✅ should verify an auto loan proof request

✅ 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 53 in integration-tests/cheqd-credentials.test.ts

See this annotation in the file changed.

@github-actions 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: 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/cheqd-credentials.test.ts:53:36)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 101 in integration-tests/cheqd-credentials.test.ts

See this annotation in the file changed.

@github-actions github-actions / Integration Test Report

integration-tests/cheqd-credentials.test.ts ► Cheq integration tests ► should verify a ZKP cheqd 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/cheqd-credentials.test.ts:101:36)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)