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
Copy file name to clipboardExpand all lines: packages/mongodb-memory-server-core/src/util/__tests__/__snapshots__/MongoInstance.test.ts.snap
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,12 @@ exports[`MongodbInstance prepareCommandArgs should throw an error if no dbpath i
6
6
7
7
exports[`MongodbInstance prepareCommandArgs should throw an error if no port is provided 1`] =`"\\"instanceOpts.port\\" is required to be set!"`;
8
8
9
+
exports[`MongodbInstance test events "closeHandler" should emit "instanceClosed" 1`] =`"Instance closed unexpectedly with code \\"null\\" and signal \\"SIG\\""`;
10
+
11
+
exports[`MongodbInstance test events "closeHandler" should emit "instanceError" with non-0 or non-12 code 1`] =`"Instance closed unexpectedly with code \\"1\\" and signal \\"null\\""`;
12
+
13
+
exports[`MongodbInstance test events "closeHandler" should emit "instanceError" with non-0 or non-12 code 2`] =`"Instance closed unexpectedly with code \\"null\\" and signal \\"SIG\\""`;
14
+
9
15
exports[`MongodbInstance test events checkErrorInLine() should emit "instanceError" when shared libraries fail to load 1`] =`"Instance failed to start because a library is missing or cannot be opened: \\"libcrypto.so.1.1\\""`;
10
16
11
17
exports[`MongodbInstance test events stdoutHandler() should emit "instanceError" when "excepetion in initAndListen" is thrown DBException in initAndListen 1`] =`
0 commit comments