Skip to content

EOI-testing-2022/dom-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jun 18, 2022
889079d · Jun 18, 2022

History

2 Commits
Jun 18, 2022
Feb 12, 2022
Feb 12, 2022
Feb 12, 2022
Jun 18, 2022
Jun 18, 2022
Jun 18, 2022
Jun 18, 2022

Repository files navigation

DOM Testing Demo

This is an experimental project for testing HTML and vanilla JS with Jest and @testing-library/dom. You can read my article on Medium about this project as well.

Motivation

I've used Jest and @testing-library/react alongside React extensively in professional and personal projects, but I've never tried writing unit tests to test a UI that was created without any UI frameworks or libraries.

Development

If you'd like to run this project locally, clone the repo and then:

  1. yarn install (or npm install) to install dependencies
  2. yarn start (or npm start) to preview the app locally
  3. yarn test (or npm test) to run the tests

Docs and Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published