Repository navigation
Commit fbc8206
committed
test(cli): pay the serve test's dynamic-import loads at module top
The host crypto provider test imports `serve.ts`, which reaches eight
packages through function-body `import()` calls. check-test-source-alias's
source-reach half (#30969) asks a changed test file to pay those first loads
during collection, so the file now imports them for their side effects at
module top, as the other serve-reaching cli tests do (#10126). serve.ts keeps
its dynamic imports.
Also notes in serve.ts that the host provider's init-done reading assumes
`ctx.getKernel`.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4czs7cUFAphQEUFSrcz1 parent 816331a commit fbc8206
2 files changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
68 | 79 | | |
69 | 80 | | |
70 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6339 | 6339 | | |
6340 | 6340 | | |
6341 | 6341 | | |
| 6342 | + | |
| 6343 | + | |
6342 | 6344 | | |
6343 | 6345 | | |
6344 | 6346 | | |
| |||
0 commit comments