Skip to content

Commit 2ab6ca5

Browse files
committed
Minor fixes
1 parent 30e994d commit 2ab6ca5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/helpers/download-test-browsers.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ const downloadBrowser = (name, version, attempt) => {
2929
});
3030
};
3131

32-
const promises = [
32+
let promises = [
3333
downloadBrowser('firefox', 'stable'),
3434
downloadBrowser('firefox', 'beta'),
35-
downloadBrowser('firefox', 'unstable'),
35+
downloadBrowser('firefox', 'unstable')
3636
];
3737

3838
// TODO: Temporarily disable downloading Chrome on Mac because of the following error on CI:
3939
// > Error: Command failed: hdiutil mount -nobrowse "/Users/runner/.selenium-assistant/google-chrome-unstable.dmg"
4040
// > hdiutil: mount failed - image not recognized
41-
if (os.platform() != 'darwin') {
41+
if (os.platform() !== 'darwin') {
4242
promises = [
4343
...promises,
4444
downloadBrowser('chrome', 'stable'),

0 commit comments

Comments
 (0)