This meant you could pipe fetch responses directly to file streams using a standard API:
test('asynchronous passing test', async (t) => assert.strictEqual(await Promise.resolve(2), 2); ); node 18
Thank Node 18 for fetch , streams, and a built-in test runner. Then leave it behind. What version of Node are you running in production right now? Let us know in the comments below. This meant you could pipe fetch responses directly