sinonjs / sinon

Test spies, stubs and mocks for JavaScript.
https://sinonjs.org/
Other
9.66k stars 769 forks source link

Remove Browserify in favor of ESBuild (already used in Mochify) #2618

Open fatso83 opened 2 months ago

fatso83 commented 2 months ago

We already employ ESBuild in creating the bundle for our tests, which gets us in the strange situation where the testing of the bundle is happening on a version that we never produce 🤡

Most of the work is already done in the coverage.cjs script, so it's mostly just about extracting that chunk and re-using it everywhere else (NPM scripts, bundle, coverage, ...).

fatso83 commented 2 months ago

Doing it for the other projects would of course be beneficial ...