Closed captDaylight closed 1 year ago
Thank you for raising this issue, but unfortunately, it is in the wrong repo.
afterEach
is not part of testing-library, but of testing frameworks like mocha or vitest. We export a cleanup
function that can be called manually in testing frameworks not supporting this global, like e.g. uvu.
The error is in the new solid docs, not in the solid-testing-library. I'll talk to our docs team to have this corrected soon.
Thank you @atk for the fast response!
I'm running through this testing example and seeing this error: