Skip to content

Code-the-Dream-School/multicalc-tests

 
 

Repository files navigation

Multi-Calc

This project is a React-based calculator application that contains a few problems.The repo contains 2 test files, each containing 1 or more tests that fail. Your task is to resolve the code that leads to the failed tests.

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Installation

  1. Fork the repository into your account.

  2. Clone the repository:

    git clone https://github.com/YOUR-USERNAME/multicalc.git
  3. Navigate to the project directory:

    cd multicalc
  4. Install the dependencies:

    npm install

Running the Application

To start the development server, run:

npm run dev

This will start the application and you can view it in your browser at http://localhost:3000.

Running Tests

To run the tests in the CLI, use the following command:

npm run test

This will execute the test suite and display the results in the terminal.

  • Be sure to pay close attention to all of the text each test outputs.
  • Fix each error highlighted by the tests.
  • Don't make any changes to any of the test files.
  • Once complete, open a PR against the forked repo and submit the link with the assignment form.

About

RTL and Vitest testing for Intro to React v3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.5%
  • CSS 30.6%
  • HTML 3.9%