This PR refactors the test setup by replacing Mocha and NYC with Node.js's native test runner (node:test) and c8 for coverage reporting.
Key Changes:
Replaced Mocha and NYC with the native Node.js test runner and c8 for code coverage.
Updated test scripts to align with the new setup, improving maintainability and reducing reliance on external libraries.
Replaced deep-equal with native assert.deepEqual.
Updates the CI pipeline
Benefits:
These changes modernize the testing framework, reduce external dependencies, and uphold code coverage standards using built-in Node.js capabilities.
This PR refactors the test setup by replacing Mocha and NYC with Node.js's native test runner (
node:test
) andc8
for coverage reporting.Key Changes:
c8
for code coverage.deep-equal
with nativeassert.deepEqual
.Benefits:
These changes modernize the testing framework, reduce external dependencies, and uphold code coverage standards using built-in Node.js capabilities.