mongodb-memory-server

v4.1.0
In-memory MongoDB Server. Designed with testing in mind, the server will allow you to connect your favourite ODM or client library to the MongoDB Server and run integration tests isolated from each other.
mongodb mongoose mock stub mockgoose mongodb-prebuilt mongomem

lint

eslint 'src/**/*.{js,ts}'

test

npm run lint && npm run tscheck && npm run coverage

build

npm-run-all build:*

watch

cross-env MONGOMS_DOWNLOAD_DIR=./tmp jest --watch

tscheck

tsc --noEmit

build:ts

rimraf ./lib && tsc -p ./tsconfig.build.json

coverage

cross-env MONGOMS_DOWNLOAD_DIR=./tmp jest --coverage

build:flow

find ./lib -name "*.d.ts" -exec bash -c './node_modules/.bin/flowgen --add-flow-header "$1" -o "${1%.d.ts}".js.flow' - '{}' \;

postinstall

node ./postinstall.js

semantic-release

semantic-release

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 3/12/2019

Downloads

Maintainers