Commit 5b6489e
authored
Remove AbortController test mock (#3506)
This library includes an `AbortController` test mock, which doesn't work
in places that expect a real one. For example, I was writing an
unrelated test that tried to cancel a `fetch()` which failed because
the `AbortController`'s `signal` property was invalid.
Because [`AbortController` is in all supported Node versions][0], we can
safely remove this mock and rely on the real thing.
This should only affect tests.
[0]: https://developer.mozilla.org/en-US/docs/Web/API/AbortController#browser_compatibility1 parent 7806111 commit 5b6489e
1 file changed
+0
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
0 commit comments