mongodb-memory-server-core

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

yarn run eslint && yarn run tscheck

test

yarn run lint && yarn run coverage

build

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

clean

rimraf tmp lib build coverage node_modules/.cache

watch

jest --watchAll

eslint

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

tscheck

tsc --noEmit

coverage

jest --coverage

test:watch

yarn run watch

build:tests

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

Metadata

  • MIT
  • >=10.15.0
  • Unknown
  • released 5/6/2021

Downloads

Maintainers