4 ms·
I was really excited about this feature because I recently tweeted about wanting something like `(*testing.T).Cleanup` from Go [1]. I think this is achievable n
by disintegrator 3y ago
I was really excited about this feature because I recently tweeted about wanting something like `(*testing.T).Cleanup` from Go [1]. I think this is achievable now across test frameworks because of this language/runtime addition! I scribbled something together and I'm looking forward to testing it out when TypeScript 5.2 is out: https://gist.github.com/disintegrator/35b6a6a87dbad54fada430d8f8efa905 https://gist.github.com/disintegrator/35b6a6a87dbad54fada430...
[1]: https://pkg.go.dev/testing#T.Cleanup https://pkg.go.dev/testing#T.Cleanup