Fix throw matcher error support#4962
Conversation
|
Thanks for the PR! I think we only want this behavior if we're in a |
Codecov Report
@@ Coverage Diff @@
## master #4962 +/- ##
==========================================
+ Coverage 60.31% 60.44% +0.13%
==========================================
Files 198 198
Lines 6632 6664 +32
Branches 3 3
==========================================
+ Hits 4000 4028 +28
- Misses 2632 2636 +4
Continue to review full report at Codecov.
|
|
@SimenB Oops :) I will do it today |
|
@zouxuoz do you have some time to finish this? :) |
|
Unfortunately |
|
I'm not sure if it's possible to have this feature the way |
|
Is there any way we can expose something in |
|
Ah, this looks really promising! Could you add a test somewhere fitting that EDIT: hah, pun not intended |
|
@SimenB good idea, but how I can check the content of the written snapshot in integration tests? I can't find tests with similar behavior. |
|
Right after expectation you should be able to just read from FS, but before deleting the snapshot in (usually done in |
SimenB
left a comment
There was a problem hiding this comment.
This is awesome, thanks!
Can you update the changelog?
|
@SimenB updated 😉 |
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Resolve #4946
Test plan
yarn jest --testPathPattern="throw_matcher"