[email protected]
test v0.5.0
create-remix
View on GitHubView PackagePublished: Jun 5, 2026

Release Notes

Minor Changes

  • Add timeout and abort signal support to @remix-run/test.

    Tests and lifecycle hooks can now pass { timeout, signal }. Timed-out tests fail and abort t.signal, so async work that accepts an AbortSignal can cancel promptly. Tests and suites can also use string skip/todo reasons, and reporters display those reasons when a pending result is reported.

    it('loads data', { timeout: 5_000 }, async (t) => {
      let response = await fetch('/api/data', { signal: t.signal })
      assert.equal(response.status, 200)
    })
    
    it('depends on external credentials', { skip: 'requires API credentials' }, () => {})
    

Patch Changes

  • Ignore browser-cancelled script requests in remix-test browser runs so iframe navigation can finish cleanly on Windows while still reporting real script load failures.