This issue about moving away from Jest to Node.js's Native Test Runner
Why
It would be great if we adopted Node.js's Test Runner (and moved away from Jest) because:
- Way less dependencies
- We only need JSDom to be set before the tests start running
- We can remove all the reporters/coverage generators and other dependencies
- It's way faster and native to Node.js
- It's natively ESM compatible which Jest isn't
- We don't need snapshots nor any fancy Jest functionality
Migration
This issue about moving away from Jest to Node.js's Native Test Runner
Why
It would be great if we adopted Node.js's Test Runner (and moved away from Jest) because:
Migration
__mocks__folders need to be manually imported when used and need to be changed to use the Mocking API https://nodejs.org/api/test.html#mockingjest.APIs need to be replaced to Node Test Runners APIsexpectneeds to be changed toassert(https://nodejs.org/api/assert.html)