feat: add bundle-host-test.cjs + smoke integration

- bundle-host-test.cjs: JS smoke-test for PluginBundleHost contract
  - 4 error boundary scenarios (missing frontend, JS throw, missing component, mount throw)
  - 5 real mount scenarios (bundle exec, DiagnosticsPanel mount, Settings mount, unmount, mount-throw catch)
  - Runs real platform-test bundle in vm.Sandbox with mock window/document
- smoke-platform.sh: add bundle-host-test step
- Fix: platform-test badgeRow div call (3rd arg was ignored)
This commit is contained in:
2026-06-17 18:51:14 +08:00
parent 05ef1449bc
commit c2e14cae69
5 changed files with 317 additions and 3 deletions
View File
Vendored Executable → Regular
View File
View File