Module Pattern vs Classes Comparision

Click here to access the respective post about this repo

This repo contains example code and tests for the respective post comparing

  • Module Pattern
  • Classes

in JavaScript.

Running tests

The test Suite was developed using Jest. You can run

For checking the tests, you can run

$ yarn test

and for full coverage, you can run

$ yarn test --coverage