chore: lib updates #2125
sonarcloud.yml
on: pull_request
SonarCloud snap
3m 42s
SonarCloud datamanager
2m 10s
SonarCloud connector
50s
SonarCloud dapp
1m 6s
SonarCloud docs
49s
SonarCloud did-provider-key
1m 59s
SonarCloud extended-verification-lib
6m 58s
Annotations
11 errors
tests/e2e/resolveDID.spec.ts > resolveDID > should resolve a 'ens' method:
packages/snap/tests/e2e/resolveDID.spec.ts#L48
AssertionError: expected null to deeply equal { …(7) }
- Expected:
Object {
"assertionMethod": Array [
"did:ens:vitalik.eth#0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
],
"authentication": Array [
"did:ens:vitalik.eth#0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
],
"capabilityDelegation": Array [
"did:ens:vitalik.eth#0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
],
"capabilityInvocation": Array [
"did:ens:vitalik.eth#0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
],
"id": "did:ens:vitalik.eth",
"service": Array [
Object {
"id": "did:ens:vitalik.eth#Web3PublicProfile-0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"serviceEndpoint": "vitalik.eth",
"type": "Web3PublicProfile",
},
],
"verificationMethod": Array [
Object {
"blockchainAccountId": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045@eip155:1",
"controller": "did:ens:vitalik.eth",
"id": "did:ens:vitalik.eth#0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"type": "EcdsaSecp256k1RecoveryMethod2020",
},
],
}
+ Received:
null
❯ tests/e2e/resolveDID.spec.ts:48:36
|
tests/e2e/verifyData.spec.ts > verifyData > should succeed verifiying a VC:
packages/snap/tests/e2e/verifyData.spec.ts#L85
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/e2e/verifyData.spec.ts:85:35
|
tests/e2e/verifyData.spec.ts > verifyData > should succeed verifying a VP:
packages/snap/tests/e2e/verifyData.spec.ts#L138
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/e2e/verifyData.spec.ts:138:27
|
SonarCloud snap
Process completed with exit code 1.
|
tests/Verification.service.spec.ts > Veramo Service > valid cases > credentials > valid EIP712 credential:
libs/extended-verification/tests/Verification.service.spec.ts#L79
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/Verification.service.spec.ts:79:31
|
tests/Verification.service.spec.ts > Veramo Service > valid cases > presentations > valid EIP712 presentation with a JWT credential:
libs/extended-verification/tests/Verification.service.spec.ts#L225
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/Verification.service.spec.ts:225:31
|
tests/Verification.service.spec.ts > Veramo Service > valid cases > presentations > valid JWT presentation with a EIP712 credential:
libs/extended-verification/tests/Verification.service.spec.ts#L265
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/Verification.service.spec.ts:265:31
|
tests/Verification.service.spec.ts > Veramo Service > valid cases > presentations > valid JWT presentation with 2 credentials (EIP712 and JWT):
libs/extended-verification/tests/Verification.service.spec.ts#L305
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/Verification.service.spec.ts:305:31
|
tests/Verification.service.spec.ts > Veramo Service > valid cases > presentations > valid EIP712 presentation with 2 credentials (EIP712 and JWT):
libs/extended-verification/tests/Verification.service.spec.ts#L359
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ tests/Verification.service.spec.ts:359:31
|
tests/Verification.service.spec.ts > Veramo Service > invalid cases > presentations > invalid JWT presentation with an expired JWT credential and a valid EIP712 credential:
libs/extended-verification/tests/Verification.service.spec.ts#L865
AssertionError: expected { …(2) } to deeply equal { …(2) }
- Expected
+ Received
Object {
"credentials": Array [
Object {
"ebsiTrustedIssuer": false,
"isExpired": false,
"isNotYetValid": false,
"isRevoked": false,
"schema": Object {
"errors": Array [],
"isValid": true,
},
"signature": Object {
"errors": Array [],
- "isValid": true,
+ "isValid": false,
},
},
Object {
"ebsiTrustedIssuer": false,
"isExpired": true,
"isNotYetValid": false,
"isRevoked": false,
"schema": Object {
"errors": Array [],
"isValid": true,
},
"signature": Object {
"errors": Array [],
"isValid": false,
},
},
],
"presentation": Object {
"isExpired": false,
"isNotYetValid": false,
"signature": Object {
"errors": Array [],
"isValid": true,
},
},
}
❯ tests/Verification.service.spec.ts:865:30
|
SonarCloud extended-verification-lib
Process completed with exit code 1.
|