Skip to content

Thinkful-Ed/starter-react-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published