mongodb-memory-server

v1.7.2
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

flow

flow

lint

eslint --ext .js ./src

test

npm run coverage && npm run lint && npm run flow

build

npm-run-all build:*

watch

jest --watch

coverage

jest --coverage

build:cjs

rimraf lib && babel src --ignore __tests__,__mocks__ -d lib

build:flow

find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\/src\//\/lib\//g'`.flow; done

semantic-release

semantic-release

Metadata

  • MIT
  • Whatever
  • Nodkz
  • released 3/27/2018

Downloads

Maintainers