TheOdinProject / javascript-exercises

MIT License
1.28k stars 34.52k forks source link

Tests: Refactor Jest tests to Node.js test runner #486

Closed cakegod closed 3 months ago

cakegod commented 4 months ago

Feature Request

Pre-requisites

Please complete the following REQUIRED checkboxes:

The following checkbox is OPTIONAL:


1. Description of the Feature Request

I propose refactoring our tests from Jest to the Node test runner, which has been stable since Node v20. This transition can reduce our dependencies and potentially improve maintainability as the test runner is directly integrated into the Node runtime. 

Additionally, but anecdotally, Node test runner is more than three times faster on my old PC. 

2. Acceptance Criteria

MaoShizhong commented 3 months ago

Thanks for the suggestion. Had a chat as a team and this is something we felt was not really necessary to change at this point.