Please read the documentation in the source code file and complete the requirement.

Definition of Done

  • No additional 3rd party libraries are allowed, esp. lodash and underscore.
  • All unit tests are passed.
  • There is no linting error.
  • Good code quality.
    • Meaningful names of class, variable and functions.
    • Using full name rather than abbreviation.
    • Using appropriate data structure.

Hint

Running Unit Test

If you want to run all the unit test, you can run:

$ npm test

If you want to run test which matches certain patterns, you can run:

$ npm test -- <pattern>

For example.

$ npm test -- receptionist

Linting Your Code

You can use the following command to check if your code violates the coding standard:

$ npm run lint