Skip to content

Conversation

@sibelius
Copy link
Contributor

@sibelius sibelius commented Jun 8, 2020

path.join(cwd) is more stable then __dirname when running inside a monorepo

@sibelius
Copy link
Contributor Author

sibelius commented Jun 9, 2020

I've fixed to handle both same dbName as random one

feel free to merge and improve from here

@vladholubiev vladholubiev changed the title feat(paralell): enable parallel tests generating an unique database n… feat(paralell): enable parallel tests generating an unique database name per test file, fix #206 Jun 9, 2020
@randomhash
Copy link
Member

@sibelius great job! thank you ;)

"peerDependencies": {
"mongodb": "3.x.x"
"mongodb": "3.x.x",
"mongodb-memory-server": "*"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was the reason of moving this out to peerDependencies? I'm ok with that as long as there is a reason and this is documented in READMe.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so we can use any version of mongodb-memory-server

@farhantahir
Copy link

@vladgolubev when is the plan to merge this PR?

@vladholubiev
Copy link
Member

Today)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants