Skip to content

Commit d71899f

Browse files
committed
test(MongoInstance): change tmpdir prefix to use a unique name
1 parent 7a6ebcc commit d71899f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mongodb-memory-server-core/src/util/__tests__/MongoInstance.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tmp.setGracefulCleanup();
1717

1818
let tmpDir: tmp.DirResult;
1919
beforeEach(() => {
20-
tmpDir = tmp.dirSync({ prefix: 'mongo-mem-', unsafeCleanup: true });
20+
tmpDir = tmp.dirSync({ prefix: 'mongo-mem-instance-', unsafeCleanup: true });
2121
});
2222

2323
afterEach(() => {

0 commit comments

Comments
 (0)