Skip to content

dilbarov/cache-pool-question

Repository files navigation

Cache Pool

Overview

This project contains the solution for the home assignment provided by Ivan. It includes a fully implemented test.spec.ts file with test cases for the project. Below are the instructions on how to run the tests using WebStorm or the terminal.

Requirements

Make sure you have the following installed:

  • Node.js (v16+)
  • npm (v9+)
  • WebStorm IDE

Setup Instructions

Copy the repository to your local machine:

npm install

Running Tests in WebStorm

To run the tests in WebStorm, follow these steps:

  1. Open the project in WebStorm.
  2. Open the test.spec.ts file located in the src directory.
  3. Right-click anywhere in the test.spec.ts file.
  4. Select Run 'Cache Pool' from the context menu.
    • Alternatively, you can click the green Run icon next to the test definitions inside the file.
  5. WebStorm will automatically run the tests, and you will see the results in the IDE's Run panel at the bottom.

Running Tests via Command Line

If you prefer using the terminal, you can run all the tests using the following command:

npm test 

Additional Notes

  • Make sure all dependencies are installed by running npm install.
  • If you encounter any issues running the tests, please verify that your environment is correctly set up and that all required packages are installed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published