News for hackers. Stuff that matters.
Re:Chaijs.com just let their domain expire by horsawlarway on Friday December 17, 2021 @10:52AM (#29593831)
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.

Re:Chaijs.com just let their domain expire by sombremesa on Friday December 17, 2021 @10:57AM (#29593910)
I don't know what kind of shop you're running where JS libraries are 'literally' getting blown out of water but I like it.
Re:Chaijs.com just let their domain expire by grumple on Friday December 17, 2021 @11:56AM (#29594831)
It 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/
Re:Chaijs.com just let their domain expire by semi-extrinsic on Friday December 17, 2021 @04:12PM (#29598402)
In 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.

Re:Chaijs.com just let their domain expire by hermanradtke on Friday December 17, 2021 @08:12PM (#29600426)
Jest as a test runner is very slow. I normally run mocha while importing the expects from jest.