resolve-when

v1.0.1
Returns a promise that resolves once condition is met
promise promises until async await poll polling wait waits and 9 more...

coverage

nyc yarn test

coverage:check

nyc check-coverage --lines 100 --functions 100 --branches 100 --statements 100 --per-file

fix

eslint --fix .

lint

eslint .

precommit

yarn run lint && yarn run test && yarn run coverage:check

test

mocha --require @babel/register index.unit.test.js

Metadata

  • MIT
  • >=6
  • Daniel Li
  • released 9/12/2018

Downloads

Maintainers