@passport-next/chai-connect-middleware

v1.0.1
Helpers for testing Connect middleware with the Chai assertion library.
express connect auth authn authentication

templates

node ./templates/gen.js

init-new-project

node ./templates/gen --init

lint

eslint --max-warnings 0 --ext js,md .

lintfix

eslint --ext js,md . --fix

testonly

mocha --reporter spec --require test/bootstrap/node test/*.test.js test/**/*.test.js

test

nyc --report-dir=var/coverage --reporter=lcov --reporter=text npm run testonly

coveralls

nyc report --report-dir=var/coverage --reporter=text-lcov | coveralls
npm i @passport-next/chai-connect-middleware

Metadata

  • MIT
  • >=8.0.0
  • Passport Next Developers
  • released 12/28/2019

Downloads