Skip to main content Accessibility Feedback

JS Testing Boilerplates

Jump start your JavaScript testing suite with the JS Testing Boilerplate. It includes…

  • A default package.json file. Use it to install all of your testing library dependencies, and run your testing suite with NPM task scripts.
  • A JSHint configuration file for linting.
  • A predefined Jest task for testing vanilla JS and ES Modules.
  • A Playwright configuration file for end-to-end testing.
  • A /tests directory with test file boilerplates.