Skip to content

feat: Add DeviceDetails field on Wallet Instance #436

feat: Add DeviceDetails field on Wallet Instance

feat: Add DeviceDetails field on Wallet Instance #436

Triggered via pull request August 1, 2024 14:21
Status Failure
Total duration 47s
Artifacts

code-review.yaml

on: pull_request
Code Review  /  js_code_review
34s
Code Review / js_code_review
Fit to window
Zoom out
Zoom in

Annotations

3 errors
src/infra/attestation-service/android/__test__/attestation.spec.ts > AndroidAttestationValidation > should return a validated attestation: apps/io-wallet-user-func/src/infra/attestation-service/android/__test__/attestation.spec.ts#L48
AssertionError: expected { deviceDetails: { …(12) }, …(1) } to deeply equal { deviceDetails: { …(11) }, …(1) } - Expected + Received Object { "deviceDetails": Object { "attestationSecurityLevel": 2, "attestationVersion": 4, "bootPatchLevel": "20230805", "deviceLocked": true, "keymasterSecurityLevel": 2, "keymasterVersion": 41, "osPatchLevel": 202308, "osVersion": 130000, "platform": "android", "vendorPatchLevel": "20230805", "verifiedBootState": 0, + "x509Chain": Array [ + "-----BEGIN CERTIFICATE----- + MIICkjCCAjigAwIBAgIBATAKBggqhkjOPQQDAjAvMRkwFwYDVQQFExA5NzM1Mzc3 + OTM2ZDBkZDc0MRIwEAYDVQQMDAlTdHJvbmdCb3gwIhgPMjAyNDA0MDIwOTQ5MDha + GA8yMDI4MDUyMzIzNTk1OVowHzEdMBsGA1UEAwwUQW5kcm9pZCBLZXlzdG9yZSBL + ZXkwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARaPZ6UmjDY6Qa6qhA6FYvLrouf + wkYy4Z9VMiD70G4SNsO6/PW47FP7DwzgXtL6mzQSmFveYTvVEaZGoJUpbaVno4IB + TzCCAUswDgYDVR0PAQH/BAQDAgeAMIIBNwYKKwYBBAHWeQIBEQSCAScwggEjAgEE + CgECAgEpCgECBAtyYW5kb212YWx1ZQQAMGK/hT0IAgYBjp42ZIe/hUVSBFAwTjEo + MCYEIWNvbS5pb3JlYWN0bmF0aXZlaW50ZWdyaXR5ZXhhbXBsZQIBATEiBCD6x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H4X/PXdx1lAmGPS8PsubCRGjJ + xdhRVOEEMYyxCuYLonuyUggOByZFaBw55WDoWGpkVQhnFi9L3p23VkWILLnq/07+ + GwoxL1vUAiQpjJHxNQYbjgTo+kxhjDP3uULAKPANGBE7+25VqVLMtdce4Eb5v9yF + qgg+JtlL41RUWVS3DIEqxOMm/fB3A7t55TbUKf8dCZyBci2BcUWTx8K7VnQMy8gB + Myu1SGleKPLIrBRSomDP5X8xGtwTLo3aAdY4+aSjEoimI6kX9bbIfhyDFpJxKaDR + HzhCUdLfJrlCp2hEq5GWj0lT50hPLs0tbhh/l3LTtFhKyYbiB5vHXyB3P4gUui0W + xyZnYdajUF+Tn8MW79qHhwhaXU9HnflE+dBh0smazOc+0xdwZZKXET+UFAUAMGiH + vhuICCuWsY4SPKv8/715toeCoECHSMv08C9C + -----END CERTIFICATE----- + ", + "-----BEGIN CERTIFICATE----- + MIIFYDCCA0igAwIBAgIJAOj6GWMU0voYMA0GCSqGSIb3DQEBCwUAMBsxGTAXBgNV + BAUTEGY5MjAwOWU4NTNiNmIwNDUwHhcNMTYwNTI2MTYyODUyWhcNMjYwNTI0MTYy + ODUyWjAbMRkwFwYDVQQFExBmOTIwMDllODUzYjZiMDQ1MIICIjANBgkqhkiG9w0B +
Code Review / js_code_review
io-wallet-user-func#test: command (/home/runner/work/io-wallet/io-wallet/apps/io-wallet-user-func) /tmp/xfs-dd7f32eb/yarn run test exited (1)
Code Review / js_code_review
Process completed with exit code 1.