mongodb-memory-server-core

v5.2.4
MongoDB Server for testing (core package, without autodownload). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel 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.json

coverage

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

disabled-build:flow

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

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 9/23/2019

Downloads

Maintainers