mocha-ur2ue

v1.0.0
Mocha root hook plugin to convert unhandled rejection events to unhandled exceptions so that they will cause test failures.
mocha mocha-plugin promise

changelog

conventional-changelog -p angular -i CHANGELOG.md -s -u

lint

npm run lint-js

lint-js

eslint --report-unused-disable-directives . && echo ESLint passed.

postpublish

git push --follow-tags origin master gh-pages && echo Remember to update GitHub Releases from CHANGELOG.md

preversion

npm run test && depcheck && david && git-branch-is master && travis-status -b master -c -w -x && appveyor-status -b master -c -w -p kevinoid/mocha-ur2ue

test

npm run lint && npm run test-unit

test-unit

mocha test/index.js

version

npm run changelog && echo && echo === Please edit CHANGELOG.md as desired, then exit === && echo && $npm_config_shell && git commit -m "Update CHANGELOG.md for $npm_package_version" CHANGELOG.md

version-deps

npm install conventional-changelog-cli david depcheck git-branch-is travis-status
npm i mocha-ur2ue

Metadata

  • MIT
  • >=10.13
  • Kevin Locke
  • released 6/13/2020

Downloads

Maintainers