Hacker News new | ask | show | jobs
by antonkm 2653 days ago
This is so much out of scope for the article - it has literally nothing to do with it. Your critique is about Chai choosing an API design you do not agree with.

Your critique isn't focused on JS fatigue but a single lib. JS fatigue is about having to choose between Chai, Mocha, Karma (dead nowadays?), Tape, Istanbul, testdouble, Qunit etc. And also: knowing what does what.

1 comments

> Your critique is about Chai choosing an API design you do not agree with.

I am not criticising the design choice but rather the inability to make a choice.

> JS fatigue is about having to choose between Chai, Mocha, Karma...

And once you made that choice you still have to choose between three different api styles, apparently.

You're still mixing apples and pears. A single libs API is not JS fatigue. One could argue that it's actually the opposite; supporting three different APIs might make the transition from another lib easier.