Skip to content

Commit 279497c

Browse files
committed
test(MongoBinaryDownloadUrl): add test for windows mongodb 7.0 (x86)
1 parent c407b57 commit 279497c

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
@@ -1759,6 +1759,17 @@ describe('MongoBinaryDownloadUrl', () => {
17591759
);
17601760
});
17611761

1762+
it('7.0.11 (windows)', async () => {
1763+
const du = new MongoBinaryDownloadUrl({
1764+
platform: 'win32',
1765+
arch: 'x64',
1766+
version: '7.0.11',
1767+
});
1768+
expect(await du.getDownloadUrl()).toBe(
1769+
'https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.11.zip'
1770+
);
1771+
});
1772+
17621773
it('latest (windows)', async () => {
17631774
const du = new MongoBinaryDownloadUrl({
17641775
platform: 'win32',

0 commit comments

Comments
 (0)