mongodb-memory-server

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

lint

eslint src test *.js

test

jest

build

npm-run-all build:*

watch

npm run test: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

test:watch

jest --watch

semantic-release

semantic-release pre && npm publish && semantic-release post

Metadata

  • MIT
  • Whatever
  • Nodkz
  • released 6/7/2017

Downloads

Maintainers