4 ms·
Jest. The matchers cover basically all the same use cases. Not to mention that jest's "expect.arrayContaining" and "expect.objectContaining" literally blow mo
by horsawlarway 5y ago
Jest.
The matchers cover basically all the same use cases.
Not to mention that jest's "expect.arrayContaining" and "expect.objectContaining" literally blow most other assertion libraries out of the water.
- sombremesa 5y agoI don't know what kind of shop you're running where JS libraries are 'literally' getting blown out of water but I like it.
- grumple 5y agoIt would not surprise me if there's javascript running on nuclear subs. It's already made it to space: https://www.infoq.com/news/2020/06/javascript-spacex-dragon/ https://www.infoq.com/news/2020/06/javascript-spacex-dragon/
- semi-extrinsic 5y agoIn the trivial sense, sure, someone probably has a web browser on a nuclear sub. But if you're talking software written for the operation of the sub itself, I expect it's either Ada, C89 or C++. Ada was, after all, developed specifically by the DoD for exactly such purposes.
- hermanradtke 5y agoJest as a test runner is very slow. I normally run mocha while importing the expects from jest.