Skip to content

This project demonstrates a simple application with basic authentication functionality, along with Jest tests to ensure the components works as expected.

License

Notifications You must be signed in to change notification settings

JRH89/react-unit-tests-js

Repository files navigation

react-unit-tests-js

This project includes a home page, simple sign-up and sign-in page with basic authentication functionality, several other components, and Jest tests to ensure the components work as expected.

Project Description

The react-unit-tests-js project is a basic React application that provides:

  • A sign-up form for new users to register.
  • A sign-in form for registered users to log in.
  • Error handling for invalid login credentials.
  • Jest tests to validate the functionality of the sign-up and sign-in processes.

Prerequisites

Before you begin, ensure you have the following installed on your machine:

  • Node.js
  • npm

Installation

Follow these steps to clone the repository, install dependencies, and run the project:

  1. Clone the Repository
git clone https://github.com/jrh89/react-unit-tests-js.git
cd react-unit-tests-js
  1. Install Dependencies
npm install
  1. Run the Project

To start the development server and view the project in your browser:

npm start

Open your browser and navigate to http://localhost:3000 to see the app in action.

Running Tests

To run the tests, use the following command:

npm test

Jest will run the tests and display the results in your terminal.

Test Results

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

This project demonstrates a simple application with basic authentication functionality, along with Jest tests to ensure the components works as expected.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published