Commit 57ee6dd
committed
fix(tests): remove fragile AbortSignal.timeout message assertion
Deno v2.7.14+ changed the TimeoutError message from "Signal timed out."
to "The operation was aborted due to timeout" (denoland/deno#33460).
The WHATWG spec does not mandate a specific message text, only the error
name. Assert on error.name instead to be runtime-agnostic.1 parent ea851a5 commit 57ee6dd
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
280 | 279 | | |
281 | 280 | | |
282 | 281 | | |
| |||
0 commit comments