/eloquent-javascript-tests

Jest tests and solutions to all questions in the eloquent Javascript book

Primary LanguageJavaScriptMIT LicenseMIT

Eloquent Javascript

Jest tests and solutions for all exercises in the third edition of Eloquent Javascript. Get a free copy here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What you need installed to run locally

git
Nodejs - 16.x
Yarn

Installing

  1. Cd into the project directory
    cd eloquent-javascript-tests/
    
  2. Install dependencies
    yarn install --frozen-lockfile
    

Running the tests

  1. Run all tests.

    yarn test
    
  2. Run tests by chapter.

    yarn test chapter_2/
    
  3. Run with github actions Tests are run automatically by github actions when you push to github. Click on the actions tab in your repo for more details.

Built With

  • Jest - The testing framework used

Authors

  • Ajawu David - Initial work - Github

License

This project is licensed under the MIT License - see the LICENSE.md file for details