Fix Tests on Windows

This commit is contained in:
Gregory Mitchell 2024-12-09 13:49:28 +00:00 committed by GitHub
parent 19d961aec0
commit 35c79ae667
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ describe('getAvailableVersions', () => {
const length =
os.platform() === 'win32'
? manifestData.length - 2
? manifestData.length - 1
: manifestData.length + 1;
expect(availableVersions.length).toBe(length);
}, 10_000);