rescript-jest icon indicating copy to clipboard operation
rescript-jest copied to clipboard

Add testAsync example with ReactTestUtils actAsync usage

Open TristanCacqueray opened this issue 5 years ago • 1 comments

TristanCacqueray avatar Oct 06 '20 20:10 TristanCacqueray

Not sure this README is the appropriate place for such example, but as it took me quite a while to figure out this usage, and assuming this is the right strategy, perhaps bs-jest could document how it can be used to test react hook?

TristanCacqueray avatar Oct 06 '20 20:10 TristanCacqueray