Skip to content

Instantly share code, notes, and snippets.

@tsh-code
Created April 10, 2019 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsh-code/2dbc41f7337d3041d8147a5ea56764ff to your computer and use it in GitHub Desktop.
Save tsh-code/2dbc41f7337d3041d8147a5ea56764ff to your computer and use it in GitHub Desktop.
Return browsers configuration
const pushPreparedBrowserInstance = browserType => {
for (let i = 0; i < numberOfInstances; i++) {
browsersSettings.push(prepareBrowserInstance(browserConfigs[browserType], chunkedSpecs[i]));
}
};
return Promise.resolve(browsersSettings);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment