This merge request replaces the existing test setup (Mocha, Sinon, and Chai) with Jest as the primary testing framework for the project.
Jest combines testing, assertions, and mocking in a single framework, reducing the need for multiple dependencies (mocha, sinon, chai). It also has better performance and is can be configured with typescript easier.
What
This merge request replaces the existing test setup (Mocha, Sinon, and Chai) with Jest as the primary testing framework for the project.
Jest combines testing, assertions, and mocking in a single framework, reducing the need for multiple dependencies (mocha, sinon, chai). It also has better performance and is can be configured with typescript easier.
Fixes bug(s)
Fixes https://github.com/openfoodfacts/openfoodfacts-nodejs/issues/276