mongodb-memory-server
mongodb-memory-server copied to clipboard
Spinning up mongod in memory for fast tests. If you run tests in parallel this lib helps to spin up dedicated mongodb servers for every test file in MacOS, *nix, Windows or CI environments (in most ca...
## Versions - Wanted System: [NixOS](https://nixos.org/) - Architecture: x86_64 ## Detection ```sh $ cat /etc/upstream-release/lsb-release cat: /etc/upstream-release/lsb-release: No such file or directory $ cat /etc/os-release BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="23.11pre504832.8acef304efe" DOCUMENTATION_URL="https://nixos.org/learn.html" HOME_URL="https://nixos.org/" ID=nixos...
Consider supporting mongod option [`--logpath`](https://www.mongodb.com/docs/manual/reference/program/mongod/#std-option-mongod.--logpath) by either: - blindly assuming things - watch the file (if possible) - dont support `--logpath` and just add a option to dump the stdout...
NodeJS: 18 mongodb-memory-server-*: 9.0.1 mongodb(the binary version): ? mongodb(the js package): 6.1.0 system: Linux / Docker package: mongo-memory-server ## What is your question? I wonder if there is any mongodb-memory-server...
Currently `forceSamePort` can only be set via the `MongoMemoryServer.start` parameter, and is currently unavailable for `.create` or replsets, this issue tracks to add some kind of option to InstanceOpts to...
I have recently learned that regexes get re-created *1 every time they are executed, unless they are stored in a constant, so this could (at least slightly) improve performance by...
With [Typescript 5.2](https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/#using-declarations-and-explicit-resource-management), ECMAScript feature ["Explicit Resource Management"](https://github.com/tc39/proposal-explicit-resource-management) has been added, which could be great to have for this library to not forget to call `.stop` and `.cleanup` only extra...
Tracker issue to upgrade minimal nodejs version to `16`, because 14 is EOL (16 is too) but nodejs 16 is the lowest supported by mongoose 8
Tracker issue for upgrading dependency `mongodb` from `5.x.x` to `6.0.0`
## Versions - NodeJS: 16.20.2 - mongodb-memory-server-*: 8.15.1 - mongodb(the binary version): 6.0.9 - mongodb(the js package): 4.17.1 (the one used by mongodb-memory-server) - system: Linux, in a docker image...
`mongodb` should be moved from _dependencies_ to _peerDependencies_. ### Context _npm_ 6 doesn't autoinstall _peerDependencies_. _npm_ 6 is used in Node 14 that is _deprecated_. _npm_ versions > 6 will...