Skip to content

Commit ce262d5

Browse files
committed
test(MongoBinaryDownloadUrl): add test for win32 for version 4.0.14
1 parent d62b489 commit ce262d5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,17 @@ describe('MongoBinaryDownloadUrl', () => {
9292
);
9393
});
9494

95+
it('4.0.14 (win32)', async () => {
96+
const du = new MongoBinaryDownloadUrl({
97+
platform: 'win32',
98+
arch: 'x64',
99+
version: '4.0.14',
100+
});
101+
expect(await du.getDownloadUrl()).toBe(
102+
'https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.14.zip'
103+
);
104+
});
105+
95106
it('4.2 (win32)', async () => {
96107
const du = new MongoBinaryDownloadUrl({
97108
platform: 'win32',

0 commit comments

Comments
 (0)