mongodb-memory-server-core

v7.0.0-beta.1
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

npm run eslint && npm run tscheck

test

npm run lint && npm run coverage

build

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

clean

rimraf tmp lib coverage node_modules/.cache

watch

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

eslint

eslint -c ../../.eslintrc.js 'src/**/*.{js,ts}'

tscheck

tsc --noEmit

coverage

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

test:watch

npm run watch

Metadata

  • MIT
  • >=10.15.0
  • Unknown
  • released 10/1/2020

Downloads

Maintainers