News Releases
Node v19.1.0 (Current)
Notable changes Support function mocking on Node.js test runner The 1node:test module supports mocking during testing via a top-level 1mock object. 123456789101112test(‘spies on an object method’, (t) => { const number = { value: 5, Read more…