Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 1.35 KB

README.md

File metadata and controls

57 lines (42 loc) · 1.35 KB

Starter React Testing

A template for developing and testing React applications using Jest and React Testing Library.

Project Overview

This project provides the basic structure for developing React apps and includes a testing setup using Jest and React Testing Library.

Prerequisites

Before you start, make sure you have the following installed:

  • Node.js
  • npm

Setup Instructions

  1. Clone the repository:
    git clone https://github.com/Thinkful-Ed/starter-react-testing.git
  2. Navigate into the project directory:
    cd starter-react-testing
  3. Install the dependencies:
    npm install

Running the Application

To start the development server:

npm start

Open http://localhost:3000 to view the app in your browser.

Running Tests

To run the test suite in watch mode:

npm test

This will run all the tests located in the test/ folder using Jest and React Testing Library.

Folder Structure

  • src/: Contains React components.
  • test/: Contains test files.
  • public/: Static assets.
  • package.json: Project dependencies and scripts.

Resources