Open hems opened 5 years ago
Having the same issue, Did you find any solution?
Having the same issue, Did you find any solution?
I'm actually using this instead: https://github.com/nodkz/mongodb-memory-server
it runs on memory instead of actually opening a MongoDB server.
I believe there are a few small limitations, i believe regarding replica sets, but most projects don't need that during tests.
Thanks for replying... But happy to report that after a couple of hours of tinkering and experimenting, i was able to write the required code from scratch. No shortcut npm module used. 😊
I'm running the example code but i'm getting:
"(node:24166) UnhandledPromiseRejectionWarning: Data directory not found".