Two heavy CLI tests were dominating wall time: - chat.test.ts "--once exits with timeout note" waited the real 30s reply-timeout floor. Added a replyTimeoutMs option to runChatInteractive so the test can use 200ms. - bundled-plugin-install.test.ts "loads the real bundled dependency graph plugin" runs esbuild and a live PluginLoader (~18s). Gated behind FUSION_RUN_SLOW_TESTS=1; the install/upgrade logic is covered by mocked unit tests in the same file. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
387 B
387 B
@runfusion/fusion
| @runfusion/fusion |
|---|
| patch |
Make CLI test suite ~3× faster: add a replyTimeoutMs option to runChatInteractive so the --once timeout test no longer waits a real 30s for "No reply within 30s", and gate the heavyweight esbuild-bundled-plugin integration test behind FUSION_RUN_SLOW_TESTS=1 (the same install/upgrade logic is covered by mocked unit tests in the same file).