Commit ca1a2c5
committed
fix(evm-wallet-experiment): Docker E2E vs fetch mock; OpenClaw daemon exec tests
Default Vitest inherits root setupFiles including vitest-fetch-mock, which stubs global fetch. Docker E2E calls Anvil on localhost:8545 with real fetch; under the mock, responses were empty and evmRpc failed parsing JSON.
Exclude test/e2e/docker from the main evm-wallet Vitest project and run those tests with yarn test:e2e:docker (vitest.config.docker.ts uses no fetch mock).
Align OpenClaw wallet plugin unit tests with the plugin's ocap daemon exec queueMessage argv layout (JSON blob for kref, method, args).
Refresh yarn.lock workspace metadata for @ocap/kernel-agents on this package.
Made-with: Cursor1 parent a45f63a commit ca1a2c5
4 files changed
Lines changed: 26 additions & 12 deletions
File tree
- packages/evm-wallet-experiment
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
Lines changed: 18 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
225 | 227 | | |
226 | 228 | | |
227 | 229 | | |
| |||
379 | 381 | | |
380 | 382 | | |
381 | 383 | | |
382 | | - | |
383 | 384 | | |
384 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
385 | 389 | | |
386 | 390 | | |
387 | 391 | | |
| |||
573 | 577 | | |
574 | 578 | | |
575 | 579 | | |
576 | | - | |
577 | 580 | | |
578 | | - | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
579 | 587 | | |
580 | 588 | | |
581 | 589 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3772 | 3772 | | |
3773 | 3773 | | |
3774 | 3774 | | |
| 3775 | + | |
3775 | 3776 | | |
3776 | 3777 | | |
3777 | 3778 | | |
| |||
0 commit comments