Skip to content

mudassar-web/node-testing-app

Repository files navigation

node-testing-app

Node.js testing app tutorial showing capabities of Jest testing library

This app helps us to build a simple Node.js testing setup with Jest. It covers pure function tests, async tests, and mocking both external libraries and local modules.

  1. Prerequisites
Node.js (v20+ works)
npm
Terminal + Code editor
  1. Exectute test
All tests:
npm test

With coverage:
npm test -- --coverage

Watch mode (optional):
npm run test:watch

For any further queries contact : [email protected]

Authors

License

MIT License

About

Node.js testing app tutorial showing capabities of Jest testing library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published