Improve test readability with expect-more-jest #8141
Comments
|
The Shouldn't we wait until EDIT: Turns out I got the versions mixed up, read my post below for accurate information. |
|
Good point. Let's mark this as blocked |
|
Whoops, I'm getting my versions mixed up... I was looking at the I did some more digging, and found that the If we install |
|
In theory expect-more-jest should provide a stable API to us, and if the author changes anything underneath it then they will make it transparent to us. I think this tips it in favor of using it. |
|
Hey @rarkins @HonkingGoose I just stumbled on this issue, despite the Thanks |
|
@JamieMagee I think semantic versioning is intended that pre-1.0.0 versions are liable to change API at any time (without bumping to 1.0.0) and that anything intended for production should be 1.0.0 or higher. When a dependency is 0.x it means users need to pay close attention to every update just in case it's changed API, as the maintainer is perfectly allowed to do. In short, anything ready for production should be 1.0.0 or later and anyone running things in production should try to avoid pre-1.0.0 packages (easier said than done..) Anyway it looks like we can move ahead with |
|
Great, I'll bump it to 1.x when I next work on it too |
|
(FYI 1.x bump is done) |


This package could be used to enhance the readability of a lot of our tests:
https://github.com/JamieMason/expect-more/tree/master/packages/expect-more-jest/
The text was updated successfully, but these errors were encountered: