@hackmd/passport-mock-strategy

v2.0.0
Mock passport strategy for testing Node.js applications.
passport mock auth mock

build

yarn run clean && yarn run build:lib && yarn run copy-flow

build:lib

tsc

build:watch

tsc --watch

clean

rimraf lib

copy-flow

cp flow-types/* lib/

lint

tslint -p ./tsconfig.json --fix

prepare

yarn run build

prettier

prettier --write "{src,test}/**/*.{js,ts}"

test

jest

test:watch

jest --watch
npm i @hackmd/passport-mock-strategy

Metadata

  • MIT
  • >= 6
  • Christopher Szatmary
  • released 1/6/2022

Downloads