Error: "instanceInfo" is undefined after upgrading to 7 #497
Answered
by
hasezoey
dword-design
asked this question in
Q&A
-
Versions
package: mongo-memory-server What is the Problem?After upgrading to version 7, my tests aren't running anymore. Instead, I'm getting the above error. Usage is simply creating a server and querying the URI. Code Exampleconst mongo = new MongoMemoryServer()
const localUrl = await mongo.getUri() Do you know why it happenes?Looks like the server isn't started via the constructor, as opposed to the readme. |
Beta Was this translation helpful? Give feedback.
Answered by
hasezoey
Jul 5, 2021
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dword-design
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PS: this is basically a duplicate of #458