Examples of tests using the `node:test` module and runner
MIT License
Examples are ported to node:test
and node:assert
from jest-handbook-examples (which is using Jest).
npm install
to install required dependencies.npm run test
will run the core test suitenpm run test:all
will run all the test commandsnpm run test:seq
will run the core test suite with 1 concurrencynpm run test:par
will run the core test suite with 5 concurrencynpm run test:only
will run the .only.js
test suite (demonstrating how to use .only
)npm run test:failing
will run test suites with failing testsnpm run lint
will run biome lint
on example testsnpm run format
will run biome format
on examples tests.Code is licensed under the MIT License.