This is a Promise implementation for testing purposes.
Following is the main implementation file:
$ npm i
# Run tests in headless chrome
$ npm run test:browser
# Generate coverage report
$ npm run test:coverage
# Run tests in headless chrome and generate coverage report
# Equivalent to "npm run test:browser && npm run test:coverage"
$ npm test
MIT