FRONTEND
Remix v0.5.0
RESUMEN
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`/`to
Descripción Detallada
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. ```ts 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.
Remix v0.5.0 elimina la opción `onError` y el método `raise`, lo que afecta el manejo de errores.
- Se eliminó la opción `onError` de `createContainer`, ahora los errores lanzados despachan un `ErrorEvent` en el elemento objetivo.
- Se eliminó el método `raise` de la interfaz `Interaction`.
A quién le importa
Solo si usas `createContainer` o la interfaz `Interaction`.
Generado por IA · puede contener errores
Releases Relacionados
FRONTEND
Remix v0.4.12
### Patch Changes - Bumped `@remix-run/*` dependencies: - [`fetch-router@0.20.0`](https://github.com/remix-run/remix/releases/tag/fetch-router@0.20.0)
FRONTEND
Remix v0.1.11
### Patch Changes - Bumped `@remix-run/*` dependencies: - [`fetch-router@0.20.0`](https://github.com/remix-run/remix/releases/tag/fetch-router@0.20.0)
FRONTEND