18 [exclusive]: Node
test('asynchronous passing test', async (t) => assert.strictEqual(await Promise.resolve(2), 2); );
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. node 18
Because understanding Node 18 is the key to understanding the modern Node.js you use today. It wasn't just another release; it was a paradigm shift. test('asynchronous passing test', async (t) => assert
