diff --git a/protractor.saucelabs.config.js b/protractor.saucelabs.config.js index 1b8e73bf2..556365099 100644 --- a/protractor.saucelabs.config.js +++ b/protractor.saucelabs.config.js @@ -56,7 +56,6 @@ exports.config = { } }; - function generateCapabilities(browserName, version, platform, options = {}) { const { excludes = [] } = options; const includes = excludes.length === 0 @@ -70,7 +69,6 @@ function generateCapabilities(browserName, version, platform, options = {}) { return includes.map(metric => newSaucelabsCapability(browserName, version, platform, metric)); } - function generateMetricsCapabilities(browserName, version, platforms, excludes) { return platforms.flatMap(platform => generateCapabilities(browserName, version, platform, { excludes })); }