When used for testing, we will want to make the tests independent, so some mechanism should exist for resetting all data to initial state (probably outside of @mswjs/data implementation, just some documented recipe).
I would imagine most people who need independent tests already use:
afterEach(() => server.resetHandlers())
How to hook into that?
When used for testing, we will want to make the tests independent, so some mechanism should exist for resetting all data to initial state (probably outside of @mswjs/data implementation, just some documented recipe).
I would imagine most people who need independent tests already use:
How to hook into that?