test@0.4.2
📦 remixView on GitHub →
🐛 3 fixes🔧 1 symbols
Summary
This patch release focuses on improving test stability and reliability, particularly for browser and E2E tests, by fixing import resolution, ensuring lifecycle hook failures are reported, and managing test server ports.
🐛 Bug Fixes
- Fixed browser tests so bare package imports resolve correctly with browser and ESM conditions, aligning with the asset server and preventing CommonJS entries for packages like `clsx`.
- Ensured `remix-test` reports `beforeAll`, `afterEach`, and `afterAll` hook failures as failed test results, causing `remix-test` to exit non-zero when lifecycle hooks throw.
- Browser test servers now use OS-assigned ports to prevent failures in parallel `remix-test` runs when the fixed port window is exhausted.