- Fix WebSocket mock to use factory function so resetAllMocks doesn't break it (state.ws.close is not a function errors) - Fix TextEncoderStream mock to provide functional readable/writable for pipeTo (needed by provisioning serial send tests) - Fix flash_firmware test to check wizard-nav for "Skip Flashing" button instead of wizard-content - Fix provisionAndSend "no port" test to use mockResolvedValue instead of mockResolvedValueOnce so both primary and fallback paths fail consistently All 60 tests now pass. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app.js | ||
| onboard.js | ||
| onboard.test.js | ||
| onboard.test.setup.js | ||
| viz3d.js | ||