Skip to content

Glossary: System Design Beyond the Basics in JavaScript

beforeEach

A function from node:test that runs before every test to prepare a clean state, such as a fresh region and a reset fake clock.

Where the book teaches it

Related terms

node --testFake clock