Skip to content

Commit

Permalink
deleted ie and old edge tests from default-download
Browse files Browse the repository at this point in the history
  • Loading branch information
udarrr committed Oct 23, 2023
1 parent ab03ddb commit 54bf574
Showing 1 changed file with 0 additions and 67 deletions.
67 changes: 0 additions & 67 deletions test/default-downloads-test.js
Expand Up @@ -56,73 +56,6 @@ describe('default-downloads', function () {
});
});

if (process.version.startsWith('v14.')) {
describe('ie', () => {
before(() => {
Object.defineProperty(process, 'platform', {
value: 'win32',
});
});

it('ia32 download exists', async () => {
opts = merge(opts, {
drivers: {
ie: {
arch: 'ia32',
},
},
});

computedUrls = await computeDownloadUrls(opts);

assert(computedUrls.ie.indexOf('Win32') > 0);
await doesDownloadExist(computedUrls.ie);
});

it('x64 download exists', async () => {
opts = merge(opts, {
drivers: {
ie: {
arch: 'x64',
},
},
});

computedUrls = await computeDownloadUrls(opts);

assert(computedUrls.ie.indexOf('x64') > 0);
await doesDownloadExist(computedUrls.ie);
});
});

describe('edge', () => {
before(() => {
Object.defineProperty(process, 'platform', {
value: 'win32',
});
});

const releases = require('../lib/microsoft-edge-releases');

Object.keys(releases).forEach((version) => {
it('version `' + version + '` download exists', async () => {
opts = merge(opts, {
drivers: {
edge: {
version: version,
},
},
});

computedUrls = await computeDownloadUrls(opts);

assert.strictEqual(computedUrls.edge, releases[version].url);
await doesDownloadExist(computedUrls.edge);
});
});
});
}

describe('chrome', () => {
describe('linux', () => {
before(() => {
Expand Down

0 comments on commit 54bf574

Please sign in to comment.