Not a comment for change, just an FYI. My analysis is that the test is doing 'async work' after the Client is constructed. Bad practice? Yes. Reality? Also yes.
This is a problem we could solve by mocking. It's not easy and takes quite some Jest digging. Your comment is 100% justified here.
Originally posted by @davidzwa in #105 (comment)
Not a comment for change, just an FYI. My analysis is that the test is doing 'async work' after the Client is constructed. Bad practice? Yes. Reality? Also yes.
This is a problem we could solve by mocking. It's not easy and takes quite some Jest digging. Your comment is 100% justified here.
Originally posted by @davidzwa in #105 (comment)