This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
[experimental] Eliminate jest-fetch-mock
#1867
Labels
jest-fetch-mock
#1867
We use
fetch
at the heart of the http transports now, for both Node and the browser.The fact that
jest-fetch-mock
depends onnode-fetch
(throughcross-fetch
) is now problematic.In particular, it prevented us from landing #1860.
node-fetch
depends onBuffer
so we couldn't null outBuffer
for browser tests.The task here is to create a
fetch
mock for tests from scratch, withoutjest-fetch-mock
, or to find one that does not rely onnode-fetch
.The text was updated successfully, but these errors were encountered: