chore: switch test runner to jsdom#276
Conversation
|
1b8fbec to
8d37426
Compare
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (36)
📒 Files selected for processing (25)
WalkthroughThis PR replaces Playwright-based browser automation with a JSDOM-backed Browser abstraction and a new fromURL() harness that streams and evaluates HTML/modules. The main test harness is refactored to use ephemeral server ports, browser-side HMR tracking (window.__nextHmr and reloadCount), and Browser.drain/settle flows. Fixtures are migrated from async Playwright page APIs to synchronous browser.window.document DOM interactions. CI and dev dependencies remove Playwright, bump jsdom, and enable Mocha VM modules. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed due to a network error. Comment |
Switches the test runner from playwright to jsdom.
Usually you'd do the opposite but doing so here gives us: