A template for developing and testing React applications using Jest and React Testing Library.
This project provides the basic structure for developing React apps and includes a testing setup using Jest and React Testing Library.
Before you start, make sure you have the following installed:
- Node.js
- npm
- Clone the repository:
git clone https://github.com/Thinkful-Ed/starter-react-testing.git
- Navigate into the project directory:
cd starter-react-testing - Install the dependencies:
npm install
To start the development server:
npm startOpen http://localhost:3000 to view the app in your browser.
To run the test suite in watch mode:
npm testThis will run all the tests located in the test/ folder using Jest and React Testing Library.
src/: Contains React components.test/: Contains test files.public/: Static assets.package.json: Project dependencies and scripts.