Hacker News new | ask | show | jobs
by echoangle 2 hours ago
Maybe I don’t quite understand the question but can you not just define a function that sets up the shared test state and use that in every test?