Skip to content

Commit 2b2a188

Browse files
committed
test(MongoBinary): change description of tests to better suit them
1 parent 267112d commit 2b2a188

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ build environment:
137137
expect(output).toBe(sysBinaryPath);
138138
});
139139

140-
it('should return and check an SystemBinary and warn version conflict', async () => {
140+
it('should return and check an SYSTEM_BINARY and warn version conflict', async () => {
141141
jest.spyOn(console, 'warn').mockImplementation(() => void 0);
142142
// Output taken from mongodb x64 for "ubuntu" version "4.0.25"
143143
// DO NOT INDENT THE TEXT
@@ -165,7 +165,7 @@ build environment:
165165
expect(console.warn).toHaveBeenCalledTimes(1);
166166
});
167167

168-
it('should throw an error if systemBinary is set, but no binary can be found', async () => {
168+
it('should throw an error if SYSTEM_BINARY is set, but no binary can be found', async () => {
169169
process.env[envName(ResolveConfigVariables.SYSTEM_BINARY)] = sysBinaryPath;
170170
jest.spyOn(DryMongoBinary, 'locateBinary').mockResolvedValue(undefined);
171171

0 commit comments

Comments
 (0)