fix(pilot-app, extension): better optimistic updates and connection handling #1174
Annotations
3 errors and 1 warning
Run pnpm test:
deployables/app/app/routes/edit-route.$data.spec.ts#L476
AssertionError: expected "bound " to be called with arguments: [ { type: 'SAVE_ROUTE', …(1) }, …(1) ]
Received:
1st bound call:
Array [
Object {
"data": Object {
"avatar": "eth:0x13E39B38c34C2ae8d8EF7fD53dD197CeEf148dAD",
"id": "8b244f0e-6e68-4fa5-b35d-2aedcca8322c",
- "initiator": undefined,
"label": "",
"waypoints": Array [
Object {
"account": Object {
"address": "0x0000000000000000000000000000000000000000",
"prefixedAddress": "eth:0x0000000000000000000000000000000000000000",
"type": "EOA",
},
},
Object {
"account": Object {
"address": "0xd51f4d66dd1a8c125296cae1a80a4441ec319678",
"chain": 1,
"multisend": Array [],
"prefixedAddress": "eth:0xd51F4d66DD1a8C125296CAe1A80A4441EC319678",
"type": "ROLES",
"version": 1,
},
"connection": Object {
"from": "eth:0x6D2C8e9203a37f485ce66F7Ce805350490A91424",
"roles": Array [
- "0x75277242605090d7055cba13d443238a0bb5e776",
+ "",
],
"type": "IS_MEMBER",
},
},
],
},
"type": "SAVE_ROUTE",
},
- Anything,
+ "*",
]
Number of calls: 1
❯ app/routes/edit-route.$data.spec.ts:476:35
|
Run pnpm test:
deployables/app/app/routes/edit-route.$data.spec.ts#L594
AssertionError: expected "bound " to be called with arguments: [ { type: 'SAVE_ROUTE', …(1) }, …(1) ]
Received:
1st bound call:
Array [
Object {
"data": Object {
"avatar": "eth:0xE729E3C0F842d138eC8aCC3631bf6eCFAe5d9c24",
"id": "9678380f-bfc2-4295-bd18-9baab647b7f5",
- "initiator": undefined,
"label": "",
"waypoints": Array [
Object {
"account": Object {
"address": "0x0000000000000000000000000000000000000000",
"prefixedAddress": "eth:0x0000000000000000000000000000000000000000",
"type": "EOA",
},
},
Object {
"account": Object {
"address": "0xc95342b9d9db5ad86a48ea6901bb3d8539eaf562",
"chain": 1,
"multisend": Array [],
"prefixedAddress": "eth:0xC95342B9D9dB5AD86a48EA6901BB3d8539eAF562",
"type": "ROLES",
"version": 2,
},
"connection": Object {
"from": "eth:0x544FcF30e49DE871dC72BC803D42E04FcCE350C8",
"roles": Array [
- "0x4d414e4147455200000000000000000000000000000000000000000000000000",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
],
"type": "IS_MEMBER",
},
},
],
},
"type": "SAVE_ROUTE",
},
- Anything,
+ "*",
]
Number of calls: 1
❯ app/routes/edit-route.$data.spec.ts:594:35
|
Run pnpm test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading