You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
Just updated to 7.1.0 and our tests started doing this:
1) Mongo Store
"before each" hook for "should create items":
Error: "instanceInfo" is undefined
at assertionInstanceInfo (node_modules/mongodb-memory-server-core/src/MongoMemoryServer.ts:725:2)
at MongoMemoryServer.getUri (node_modules/mongodb-memory-server-core/src/MongoMemoryServer.ts:640:5)
at Function.FromInMemory (lib/client.ts:75:30)
at Context.<anonymous> (test/index.test.ts:29:14)
Turns out I could resolve the issue by explicitly calling .start(), which on 6.x.x we didn't have to do.
It's no biggie, but a change in behaviour I figure I'd share in case others were left confused by it. Might be good to perhaps instead error with "Please call .start() before .getUri()"?
The text was updated successfully, but these errors were encountered:
Hey,
Just updated to
7.1.0
and our tests started doing this:Turns out I could resolve the issue by explicitly calling
.start()
, which on6.x.x
we didn't have to do.It's no biggie, but a change in behaviour I figure I'd share in case others were left confused by it. Might be good to perhaps instead error with "Please call .start() before .getUri()"?
The text was updated successfully, but these errors were encountered: