** not to have CSS property **display** with the value **none**, but the value was **none**',
)
})
@@ -2613,7 +2613,7 @@ This element '
' is not visible because it has CSS property: 'display: none'
cy.on('fail', (err) => {
expect(this.logs.length).to.eq(1)
expect(this.logs[0].get('error').message).to.eq(
- 'expected {} to have CSS property \'foo\''
+ 'expected {} to have CSS property \'foo\'',
)
expect(err.message).to.include('> css')
diff --git a/packages/driver/test/cypress/support/utils.js b/packages/driver/test/cypress/support/utils.js
index 12209b63e7..96de0f1834 100644
--- a/packages/driver/test/cypress/support/utils.js
+++ b/packages/driver/test/cypress/support/utils.js
@@ -82,7 +82,7 @@ const getAllFn = (...aliases) => {
return Cypress.Promise.all(
aliases[0].split(' ').map((alias) => {
return cy.now('get', alias)
- })
+ }),
)
}
diff --git a/packages/extension/gulpfile.js b/packages/extension/gulpfile.js
index 9d2b9f7631..a48c97f0b9 100644
--- a/packages/extension/gulpfile.js
+++ b/packages/extension/gulpfile.js
@@ -77,8 +77,8 @@ const build = gulp.series(
manifest,
background,
html,
- css
- )
+ css,
+ ),
)
const watchBuild = () => {
diff --git a/packages/https-proxy/test/integration/proxy_spec.js b/packages/https-proxy/test/integration/proxy_spec.js
index e8107d5b09..40d94aa472 100644
--- a/packages/https-proxy/test/integration/proxy_spec.js
+++ b/packages/https-proxy/test/integration/proxy_spec.js
@@ -22,7 +22,7 @@ describe('Proxy', () => {
proxy.start(3333)
.then((proxy1) => {
this.proxy = proxy1
- })
+ }),
)
})
@@ -30,7 +30,7 @@ describe('Proxy', () => {
return Promise.join(
httpServer.stop(),
httpsServer.stop(),
- proxy.stop()
+ proxy.stop(),
)
})
diff --git a/packages/https-proxy/test/unit/ca_spec.js b/packages/https-proxy/test/unit/ca_spec.js
index f905001f5c..ef711680f9 100644
--- a/packages/https-proxy/test/unit/ca_spec.js
+++ b/packages/https-proxy/test/unit/ca_spec.js
@@ -44,7 +44,7 @@ describe('lib/ca', () => {
it('creates certs + keys dir', function () {
return Promise.join(
fs.statAsync(path.join(this.dir, 'certs')),
- fs.statAsync(path.join(this.dir, 'keys'))
+ fs.statAsync(path.join(this.dir, 'keys')),
)
})
diff --git a/packages/launcher/lib/browsers.ts b/packages/launcher/lib/browsers.ts
index 79ac041d6f..8d8ef03cc6 100644
--- a/packages/launcher/lib/browsers.ts
+++ b/packages/launcher/lib/browsers.ts
@@ -111,7 +111,7 @@ export const browsers: Browser[] = [
export function launch (
browser: FoundBrowser,
url: string,
- args: string[] = []
+ args: string[] = [],
) {
log('launching browser %o to open %s', browser, url)
diff --git a/packages/launcher/lib/detect.ts b/packages/launcher/lib/detect.ts
index 1c18fe2b27..945264d231 100644
--- a/packages/launcher/lib/detect.ts
+++ b/packages/launcher/lib/detect.ts
@@ -30,7 +30,7 @@ export const setMajorVersion =
(browser: T): T => {
'browser %s version %s major version %s',
browser.name,
browser.version,
- browser.majorVersion
+ browser.majorVersion,
)
if (browser.majorVersion) {
@@ -62,7 +62,7 @@ function getHelper (platform?: NodeJS.Platform): PlatformHelper {
function lookup (
platform: NodeJS.Platform,
- browser: Browser
+ browser: Browser,
): Promise {
log('looking up %s on %s platform', browser.name, platform)
const helper = getHelper(platform)
@@ -153,7 +153,7 @@ export const detect = (goalBrowsers?: Browser[]): Bluebird => {
export const detectByPath = (
path: string,
- goalBrowsers?: Browser[]
+ goalBrowsers?: Browser[],
): Promise => {
if (!goalBrowsers) {
goalBrowsers = browsers
diff --git a/packages/launcher/lib/errors.ts b/packages/launcher/lib/errors.ts
index d57b561b04..e56be0b467 100644
--- a/packages/launcher/lib/errors.ts
+++ b/packages/launcher/lib/errors.ts
@@ -2,7 +2,7 @@ import { NotInstalledError, NotDetectedAtPathError } from './types'
export const notInstalledErr = (name: string, message?: string) => {
const err = new Error(
- message || `Browser not installed: ${name}`
+ message || `Browser not installed: ${name}`,
) as NotInstalledError
err.notInstalled = true
diff --git a/packages/launcher/lib/linux/index.ts b/packages/launcher/lib/linux/index.ts
index 5085a28860..03ce717f3f 100644
--- a/packages/launcher/lib/linux/index.ts
+++ b/packages/launcher/lib/linux/index.ts
@@ -7,7 +7,7 @@ import execa from 'execa'
function getLinuxBrowser (
name: string,
binary: string,
- versionRegex: RegExp
+ versionRegex: RegExp,
): Promise {
const getVersion = (stdout: string) => {
const m = versionRegex.exec(stdout)
@@ -19,7 +19,7 @@ function getLinuxBrowser (
log(
'Could not extract version from %s using regex %s',
stdout,
- versionRegex
+ versionRegex,
)
throw notInstalledErr(binary)
@@ -29,7 +29,7 @@ function getLinuxBrowser (
log(
'Received error detecting browser binary: "%s" with error:',
binary,
- err.message
+ err.message,
)
throw notInstalledErr(binary)
@@ -60,6 +60,6 @@ export function detect (browser: Browser) {
return getLinuxBrowser(
browser.name,
browser.binary as string,
- browser.versionRegex
+ browser.versionRegex,
)
}
diff --git a/packages/launcher/lib/windows/index.ts b/packages/launcher/lib/windows/index.ts
index fb2597e282..e3bda9f5f0 100644
--- a/packages/launcher/lib/windows/index.ts
+++ b/packages/launcher/lib/windows/index.ts
@@ -29,7 +29,7 @@ function formChromeCanaryAppPath () {
'Google',
'Chrome SxS',
'Application',
- 'chrome.exe'
+ 'chrome.exe',
)
return [normalize(exe)]
@@ -53,7 +53,7 @@ function formEdgeCanaryAppPath () {
'Microsoft',
'Edge SxS',
'Application',
- 'msedge.exe'
+ 'msedge.exe',
)
return [normalize(exe)]
diff --git a/packages/launcher/test/unit/detect_spec.ts b/packages/launcher/test/unit/detect_spec.ts
index a96123de81..a4948040b9 100644
--- a/packages/launcher/test/unit/detect_spec.ts
+++ b/packages/launcher/test/unit/detect_spec.ts
@@ -82,7 +82,7 @@ describe('browser detection', () => {
version: '9001.1.2.3',
majorVersion: 9001,
path: '/foo/bar/browser',
- })
+ }),
)
})
})
@@ -123,7 +123,7 @@ describe('browser detection', () => {
version: '100.1.2.3',
majorVersion: 100,
path: '/Applications/My Shiny New Browser.app',
- })
+ }),
)
})
})
diff --git a/packages/network/lib/agent.ts b/packages/network/lib/agent.ts
index 632d70191c..722667bb5e 100644
--- a/packages/network/lib/agent.ts
+++ b/packages/network/lib/agent.ts
@@ -105,7 +105,7 @@ export const regenerateRequestHead = (req: http.ClientRequest) => {
const getFirstWorkingFamily = (
{ port, host }: http.RequestOptions,
familyCache: FamilyCache,
- cb: Function
+ cb: Function,
) => {
// this is a workaround for localhost (and potentially others) having invalid
// A records but valid AAAA records. here, we just cache the family of the first
diff --git a/packages/network/lib/connect.ts b/packages/network/lib/connect.ts
index 5e6f00063d..6c94182277 100644
--- a/packages/network/lib/connect.ts
+++ b/packages/network/lib/connect.ts
@@ -71,7 +71,7 @@ function createSocket (opts: RetryingOptions, onConnect): net.Socket {
export function createRetryingSocket (
opts: RetryingOptions,
- cb: (err?: Error, sock?: net.Socket, retry?: (err?: Error) => void) => void
+ cb: (err?: Error, sock?: net.Socket, retry?: (err?: Error) => void) => void,
) {
if (typeof opts.getDelayMsForRetry === 'undefined') {
opts.getDelayMsForRetry = getDelayForRetry
diff --git a/packages/network/test/support/servers.ts b/packages/network/test/support/servers.ts
index 4dabfa5b7b..d1d8e04191 100644
--- a/packages/network/test/support/servers.ts
+++ b/packages/network/test/support/servers.ts
@@ -50,14 +50,14 @@ export class Servers {
)
.spread((app: Express.Application, [cert, key]: string[]) => {
this.httpServer = Promise.promisifyAll(
- allowDestroy(http.createServer(app))
+ allowDestroy(http.createServer(app)),
) as http.Server & AsyncServer
this.wsServer = Io.server(this.httpServer)
this.https = { cert, key }
this.httpsServer = Promise.promisifyAll(
- allowDestroy(https.createServer(this.https, app))
+ allowDestroy(https.createServer(this.https, app)),
) as https.Server & AsyncServer
this.wssServer = Io.server(this.httpsServer)
@@ -69,7 +69,7 @@ export class Servers {
// @ts-skip
return Promise.join(
this.httpServer.listenAsync(httpPort),
- this.httpsServer.listenAsync(httpsPort)
+ this.httpsServer.listenAsync(httpsPort),
)
.return()
})
@@ -78,7 +78,7 @@ export class Servers {
stop () {
return Promise.join(
this.httpServer.destroyAsync(),
- this.httpsServer.destroyAsync()
+ this.httpsServer.destroyAsync(),
)
}
}
diff --git a/packages/network/test/unit/agent_spec.ts b/packages/network/test/unit/agent_spec.ts
index 49f3b3f361..02a4f43e96 100644
--- a/packages/network/test/unit/agent_spec.ts
+++ b/packages/network/test/unit/agent_spec.ts
@@ -297,8 +297,8 @@ describe('lib/agent', function () {
allowDestroy(
net.createServer((socket) => {
socket.end()
- })
- )
+ }),
+ ),
) as net.Server & AsyncServer
const proxyPort = PROXY_PORT + 2
diff --git a/packages/proxy/lib/http/response-middleware.ts b/packages/proxy/lib/http/response-middleware.ts
index 88aa42b1ba..f61bf45890 100644
--- a/packages/proxy/lib/http/response-middleware.ts
+++ b/packages/proxy/lib/http/response-middleware.ts
@@ -70,7 +70,7 @@ function resContentTypeIs (res: IncomingMessage, contentType: string) {
function resContentTypeIsJavaScript (res: IncomingMessage) {
return _.some(
['application/javascript', 'application/x-javascript', 'text/javascript']
- .map(_.partial(resContentTypeIs, res))
+ .map(_.partial(resContentTypeIs, res)),
)
}
diff --git a/packages/proxy/lib/http/util/security.ts b/packages/proxy/lib/http/util/security.ts
index 9906b3aae2..d574a2e4e1 100644
--- a/packages/proxy/lib/http/util/security.ts
+++ b/packages/proxy/lib/http/util/security.ts
@@ -30,7 +30,7 @@ export function stripStream () {
'self$2',
'$1self$3$4',
'$1 || $2.parent.__Cypress__$3',
- ]
- )
+ ],
+ ),
)
}
diff --git a/packages/proxy/test/unit/http/util/security.spec.ts b/packages/proxy/test/unit/http/util/security.spec.ts
index 38e0c61f2b..1d93208d1e 100644
--- a/packages/proxy/test/unit/http/util/security.spec.ts
+++ b/packages/proxy/test/unit/http/util/security.spec.ts
@@ -253,7 +253,7 @@ function(n){for(;!function(l){return l===l.parent || l.parent.__Cypress__}(l)&&f
if (lib === 'hugeApp') {
stripped = stripped.replace(
'window.self !== window.self',
- 'window.self !== window.top'
+ 'window.self !== window.top',
)
}
diff --git a/packages/reporter/package.json b/packages/reporter/package.json
index d43596769a..86319824c9 100644
--- a/packages/reporter/package.json
+++ b/packages/reporter/package.json
@@ -31,7 +31,7 @@
"css-element-queries": "1.2.3",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
- "eslint": "6.1.0",
+ "eslint": "6.8.0",
"jsdom": "14.1.0",
"lodash": "4.17.15",
"markdown-it": "6.1.1",
diff --git a/packages/reporter/src/commands/command.spec.tsx b/packages/reporter/src/commands/command.spec.tsx
index 35e257370b..ea99e44407 100644
--- a/packages/reporter/src/commands/command.spec.tsx
+++ b/packages/reporter/src/commands/command.spec.tsx
@@ -201,7 +201,7 @@ describe('', () => {
appState={appState}
runnablesStore={runnablesStore}
aliasesWithDuplicates={null}
- />
+ />,
)
component.find('FlashOnClick').simulate('click')
diff --git a/packages/reporter/src/commands/command.tsx b/packages/reporter/src/commands/command.tsx
index 99c84159c0..f638446b58 100644
--- a/packages/reporter/src/commands/command.tsx
+++ b/packages/reporter/src/commands/command.tsx
@@ -151,7 +151,7 @@ class Command extends Component {
'command-has-duplicates': model.hasDuplicates,
'command-is-duplicate': model.isDuplicate,
'command-is-open': this.isOpen,
- }
+ },
)}
onMouseOver={() => this._snapshot(true)}
onMouseOut={() => this._snapshot(false)}
diff --git a/packages/reporter/src/lib/flash-on-click.spec.tsx b/packages/reporter/src/lib/flash-on-click.spec.tsx
index 57bb36f503..f2957b3f30 100644
--- a/packages/reporter/src/lib/flash-on-click.spec.tsx
+++ b/packages/reporter/src/lib/flash-on-click.spec.tsx
@@ -8,7 +8,7 @@ const renderComponent = ({ onClick = (() => {}) }): ShallowWrapper
-
+ ,
)
}
diff --git a/packages/reporter/src/runnables/runnables-store.ts b/packages/reporter/src/runnables/runnables-store.ts
index a68eb76fc5..01cff45556 100644
--- a/packages/reporter/src/runnables/runnables-store.ts
+++ b/packages/reporter/src/runnables/runnables-store.ts
@@ -72,7 +72,7 @@ class RunnablesStore {
_createRunnableChildren (runnableProps: RootRunnable, level: number) {
return this._createRunnables('test', runnableProps.tests || [], level).concat(
- this._createRunnables('suite', runnableProps.suites || [], level)
+ this._createRunnables('suite', runnableProps.suites || [], level),
)
}
diff --git a/packages/reporter/src/runnables/runnables.spec.tsx b/packages/reporter/src/runnables/runnables.spec.tsx
index 97846c2554..c9b7c4eb09 100644
--- a/packages/reporter/src/runnables/runnables.spec.tsx
+++ b/packages/reporter/src/runnables/runnables.spec.tsx
@@ -43,7 +43,7 @@ describe('', () => {
runnablesStore={runnablesStoreStub({ runnables: [{ id: 1 }] as TestModel[] })}
scroller={scrollerStub()}
specPath=''
- />
+ />,
)
expect(component.find(RunnablesList)).to.exist
@@ -55,7 +55,7 @@ describe('', () => {
runnablesStore={runnablesStoreStub()}
scroller={scrollerStub()}
specPath='/path/to/foo_spec.js'
- />
+ />,
)
expect(component.find(AnError)).to.exist
@@ -73,7 +73,7 @@ describe('', () => {
runnablesStore={runnablesStoreStub({ isReady: false })}
scroller={scrollerStub()}
specPath=''
- />
+ />,
)
expect(component.find('.wrap')).to.be.empty
@@ -86,7 +86,7 @@ describe('', () => {
runnablesStore={runnablesStoreStub()}
scroller={scroller}
specPath=''
- />
+ />,
)
expect(scroller.setContainer).to.have.been.calledWith(component.ref('container'))
@@ -102,7 +102,7 @@ describe('', () => {
runnablesStore={runnablesStoreStub()}
scroller={scroller}
specPath=''
- />
+ />,
)
scroller.setContainer.callArg(1)
@@ -119,7 +119,7 @@ describe('', () => {
runnablesStore={runnablesStoreStub()}
scroller={scroller}
specPath=''
- />
+ />,
)
scroller.setContainer.callArg(1)
diff --git a/packages/reporter/src/test/test.spec.tsx b/packages/reporter/src/test/test.spec.tsx
index 0fb9d2a4fb..1a64477361 100644
--- a/packages/reporter/src/test/test.spec.tsx
+++ b/packages/reporter/src/test/test.spec.tsx
@@ -144,7 +144,7 @@ describe('', () => {
appState={appStateStub()}
model={model()}
scroller={scroller}
- />
+ />,
)
expect(scroller.scrollIntoView).to.have.been.calledWith(component.ref('container'))
@@ -156,7 +156,7 @@ describe('', () => {
appState={appStateStub({ autoScrollingEnabled: false })}
model={model()}
scroller={scroller}
- />
+ />,
)
expect(scroller.scrollIntoView).not.to.have.been.called
@@ -168,7 +168,7 @@ describe('', () => {
appState={appStateStub({ isRunning: false })}
model={model()}
scroller={scroller}
- />
+ />,
)
expect(scroller.scrollIntoView).not.to.have.been.called
@@ -180,7 +180,7 @@ describe('', () => {
appState={appStateStub()}
model={model({ shouldRender: false })}
scroller={scroller}
- />
+ />,
)
expect(scroller.scrollIntoView).not.to.have.been.called
@@ -192,7 +192,7 @@ describe('', () => {
appState={appStateStub()}
model={model({ isActive: null })}
scroller={scroller}
- />
+ />,
)
expect(scroller.scrollIntoView).not.to.have.been.called
diff --git a/packages/runner/src/app/app.spec.jsx b/packages/runner/src/app/app.spec.jsx
index 7aded53283..c9e3520060 100644
--- a/packages/runner/src/app/app.spec.jsx
+++ b/packages/runner/src/app/app.spec.jsx
@@ -122,7 +122,7 @@ describe('', () => {
const component = shallowRender(
-
+ ,
)
expect(component.find('.some-child')).to.exist
diff --git a/packages/runner/src/lib/logger.js b/packages/runner/src/lib/logger.js
index 850fb8f9f6..a52ee1cacc 100644
--- a/packages/runner/src/lib/logger.js
+++ b/packages/runner/src/lib/logger.js
@@ -89,7 +89,7 @@ export default {
_.sortBy(consoleProps.table, (val, key) => key),
(table) => {
return this._logTable({ table })
- }
+ },
)
return
diff --git a/packages/server/lib/browsers/chrome.ts b/packages/server/lib/browsers/chrome.ts
index 94c0e8ab94..6da3b80ba8 100644
--- a/packages/server/lib/browsers/chrome.ts
+++ b/packages/server/lib/browsers/chrome.ts
@@ -288,7 +288,7 @@ const _navigateUsingCRI = async function (client, url) {
const _setAutomation = (client, automation) => {
return automation.use(
- CdpAutomation(client.send)
+ CdpAutomation(client.send),
)
}
@@ -420,7 +420,7 @@ export = {
const [extDest] = await Bluebird.all([
this._writeExtension(
browser,
- options
+ options,
),
_removeRootExtension(),
_disableRestorePagesPrompt(userDir),
diff --git a/packages/server/lib/browsers/utils.ts b/packages/server/lib/browsers/utils.ts
index 145cee2c7b..015f8a0c98 100644
--- a/packages/server/lib/browsers/utils.ts
+++ b/packages/server/lib/browsers/utils.ts
@@ -22,7 +22,7 @@ const getBrowserPath = (browser) => {
// TODO need to check if browser.name is an unempty string
return path.join(
PATH_TO_BROWSERS,
- `${browser.name}-${browser.channel}`
+ `${browser.name}-${browser.channel}`,
)
}
@@ -57,21 +57,21 @@ const getPartition = function (isTextTerminal) {
const getProfileDir = (browser, isTextTerminal) => {
return path.join(
getBrowserPath(browser),
- getPartition(isTextTerminal)
+ getPartition(isTextTerminal),
)
}
const getExtensionDir = (browser, isTextTerminal) => {
return path.join(
getProfileDir(browser, isTextTerminal),
- 'CypressExtension'
+ 'CypressExtension',
)
}
const ensureCleanCache = async function (browser, isTextTerminal) {
const p = path.join(
getProfileDir(browser, isTextTerminal),
- 'CypressCache'
+ 'CypressCache',
)
await fs.removeAsync(p)
@@ -123,7 +123,7 @@ function extendLaunchOptionsFromPlugins (launchOptions, pluginConfigResult, opti
// TODO: remove this logic in >= v5.0.0
if (pluginConfigResult[0]) {
options.onWarning(errors.get(
- 'DEPRECATED_BEFORE_BROWSER_LAUNCH_ARGS'
+ 'DEPRECATED_BEFORE_BROWSER_LAUNCH_ARGS',
))
_.extend(pluginConfigResult, {
diff --git a/packages/server/lib/gui/menu.js b/packages/server/lib/gui/menu.js
index 9ea88ce287..c7d819be85 100644
--- a/packages/server/lib/gui/menu.js
+++ b/packages/server/lib/gui/menu.js
@@ -202,7 +202,7 @@ module.exports = {
},
},
],
- }
+ },
)
}
diff --git a/packages/server/lib/modes/record.js b/packages/server/lib/modes/record.js
index 0f9ecf0fff..33fe20c94d 100644
--- a/packages/server/lib/modes/record.js
+++ b/packages/server/lib/modes/record.js
@@ -24,7 +24,7 @@ const onBeforeRetry = (details) => {
delay: humanTime.long(details.delay, false),
tries: details.total - details.retryIndex,
response: details.err,
- }
+ },
)
}
@@ -86,7 +86,7 @@ const throwIfIndeterminateCiBuildId = (ciBuildId, parallel, group) => {
group,
parallel,
},
- ciProvider.detectableCiBuildIdProviders()
+ ciProvider.detectableCiBuildIdProviders(),
)
}
}
@@ -151,7 +151,7 @@ const uploadArtifacts = (options = {}) => {
return uploads.push(
upload.send(pathToFile, url)
.then(success)
- .catch(fail)
+ .catch(fail),
)
}
diff --git a/packages/server/lib/modes/run.js b/packages/server/lib/modes/run.js
index 895cd5a7a7..908f131f6b 100644
--- a/packages/server/lib/modes/run.js
+++ b/packages/server/lib/modes/run.js
@@ -403,7 +403,7 @@ const iterateThroughSpecs = function (options = {}) {
spec,
claimedInstances - 1,
totalInstances,
- estimated
+ estimated,
)
.tap((results) => {
runs.push(results)
@@ -633,7 +633,7 @@ const trashAssets = Promise.method((config = {}) => {
return Promise.join(
trash.folder(config.videosFolder),
- trash.folder(config.screenshotsFolder)
+ trash.folder(config.screenshotsFolder),
)
.catch((err) => {
// dont make trashing assets fail the build
@@ -1022,7 +1022,7 @@ module.exports = {
this.launchBrowser(options)
.tap(() => {
debug('browser launched')
- })
+ }),
)
.timeout(timeout || 60000)
.catch(Promise.TimeoutError, (err) => {
@@ -1147,7 +1147,7 @@ module.exports = {
videoName,
compressedVideoName,
videoCompression,
- suv
+ suv,
).then(finish)
// TODO: add a catch here
}
@@ -1321,7 +1321,7 @@ module.exports = {
'found \'%d\' specs using spec pattern \'%s\': %o',
names.length,
specPattern,
- names
+ names,
)
}
})
diff --git a/packages/server/lib/open_project.js b/packages/server/lib/open_project.js
index 167837dd51..41a7838cf0 100644
--- a/packages/server/lib/open_project.js
+++ b/packages/server/lib/open_project.js
@@ -122,7 +122,7 @@ const moduleFactory = () => {
debug(
'launching browser: %o, spec: %s',
browser,
- spec.relative
+ spec.relative,
)
return browsers.open(browser, options, automation)
diff --git a/packages/server/lib/plugins/child/run_plugins.js b/packages/server/lib/plugins/child/run_plugins.js
index b40c40b090..e3e3fcb020 100644
--- a/packages/server/lib/plugins/child/run_plugins.js
+++ b/packages/server/lib/plugins/child/run_plugins.js
@@ -115,7 +115,7 @@ const execute = (ipc, event, ids, args = []) => {
sendWarning(ipc,
errors.get(
- 'DEPRECATED_BEFORE_BROWSER_LAUNCH_ARGS'
+ 'DEPRECATED_BEFORE_BROWSER_LAUNCH_ARGS',
))
// eslint-disable-next-line prefer-rest-params
diff --git a/packages/server/lib/project.js b/packages/server/lib/project.js
index 57e4b8e357..cd1012ae39 100644
--- a/packages/server/lib/project.js
+++ b/packages/server/lib/project.js
@@ -138,12 +138,12 @@ class Project extends EE {
return Promise.join(
this.watchSettingsAndStartWebsockets(options, cfg),
- this.scaffold(cfg)
+ this.scaffold(cfg),
)
.then(() => {
return Promise.join(
this.checkSupportFile(cfg),
- this.watchPluginsFile(cfg, options)
+ this.watchPluginsFile(cfg, options),
)
})
})
@@ -211,7 +211,7 @@ class Project extends EE {
return Promise.join(
this.server ? this.server.close() : undefined,
this.watchers ? this.watchers.close() : undefined,
- preprocessor.close()
+ preprocessor.close(),
)
.then(() => {
return process.chdir(localCwd)
@@ -512,7 +512,7 @@ class Project extends EE {
// becomes /integration/foo.coffee
return `/${path.join(type, path.relative(
integrationFolder,
- path.resolve(projectRoot, pathToSpec)
+ path.resolve(projectRoot, pathToSpec),
))}`
}
diff --git a/packages/server/lib/scaffold.js b/packages/server/lib/scaffold.js
index 15c7f96827..c16309c9ae 100644
--- a/packages/server/lib/scaffold.js
+++ b/packages/server/lib/scaffold.js
@@ -56,7 +56,7 @@ const filesSizesAreSame = (files, index) => {
Promise.all(_.map(files, getFileSize)),
Promise.all(_.map(files, (file) => {
return getFileSize(getIndexedExample(file, index))
- }))
+ })),
)
.spread((fileSizes, originalFileSizes) => {
return _.every(fileSizes, (size, i) => {
@@ -166,7 +166,7 @@ module.exports = {
return Promise.join(
this._copy('support/commands.js', folder, config),
- this._copy('support/index.js', folder, config)
+ this._copy('support/index.js', folder, config),
)
})
},
diff --git a/packages/server/lib/socket.js b/packages/server/lib/socket.js
index f2fb200460..90c0a8f266 100644
--- a/packages/server/lib/socket.js
+++ b/packages/server/lib/socket.js
@@ -389,7 +389,7 @@ class Socket {
return task.run(config.pluginsFile, args[0])
default:
throw new Error(
- `You requested a backend event we cannot handle: ${eventName}`
+ `You requested a backend event we cannot handle: ${eventName}`,
)
}
}
diff --git a/packages/server/lib/util/app_data.js b/packages/server/lib/util/app_data.js
index b286d8c1ee..69466232a4 100644
--- a/packages/server/lib/util/app_data.js
+++ b/packages/server/lib/util/app_data.js
@@ -37,7 +37,7 @@ module.exports = {
.then(() => {
return Promise.join(
fs.ensureDirAsync(this.path()),
- !isProduction() ? this.symlink() : undefined
+ !isProduction() ? this.symlink() : undefined,
)
})
}
@@ -88,7 +88,7 @@ module.exports = {
remove () {
return Promise.join(
fs.removeAsync(this.path()),
- this.removeSymlink()
+ this.removeSymlink(),
)
},
diff --git a/packages/server/lib/util/chrome_policy_check.js b/packages/server/lib/util/chrome_policy_check.js
index a54978adab..d431eb0e77 100644
--- a/packages/server/lib/util/chrome_policy_check.js
+++ b/packages/server/lib/util/chrome_policy_check.js
@@ -66,7 +66,7 @@ function getRunner ({ enumerateValues }) {
return value
})
})
- })
+ }),
)
}
diff --git a/packages/server/lib/util/profile_cleaner.js b/packages/server/lib/util/profile_cleaner.js
index e050cc2c2e..9b5c03484c 100644
--- a/packages/server/lib/util/profile_cleaner.js
+++ b/packages/server/lib/util/profile_cleaner.js
@@ -17,7 +17,7 @@ const isCypressProcess = (process) => {
const getPidFromFolder = (folder, pidPrefix) => {
return _.toNumber(
- path.basename(folder).replace(pidPrefix, '')
+ path.basename(folder).replace(pidPrefix, ''),
)
}
diff --git a/packages/server/lib/util/specs.js b/packages/server/lib/util/specs.js
index b54d790d8c..9f8389d73d 100644
--- a/packages/server/lib/util/specs.js
+++ b/packages/server/lib/util/specs.js
@@ -27,7 +27,7 @@ const find = function findSpecs (config, specPattern) {
debug(
'looking for test specs in the folder:',
- integrationFolderPath
+ integrationFolderPath,
)
if (specPattern) {
@@ -45,7 +45,7 @@ const find = function findSpecs (config, specPattern) {
fixturesFolderPath = path.join(
config.fixturesFolder,
'**',
- '*'
+ '*',
)
}
diff --git a/packages/server/lib/util/validation.js b/packages/server/lib/util/validation.js
index 1f12840f4a..3dfcb9b132 100644
--- a/packages/server/lib/util/validation.js
+++ b/packages/server/lib/util/validation.js
@@ -18,7 +18,7 @@ const str = JSON.stringify
*/
const errMsg = (key, value, type) => {
return `Expected \`${key}\` to be ${type}. Instead the value was: \`${str(
- value
+ value,
)}\``
}
@@ -153,7 +153,7 @@ module.exports = {
return errMsg(
key,
value,
- 'a fully qualified URL (starting with `http://` or `https://`)'
+ 'a fully qualified URL (starting with `http://` or `https://`)',
)
},
diff --git a/packages/server/test/integration/cypress_spec.js b/packages/server/test/integration/cypress_spec.js
index 3bcfc1feee..a51278ca59 100644
--- a/packages/server/test/integration/cypress_spec.js
+++ b/packages/server/test/integration/cypress_spec.js
@@ -559,7 +559,7 @@ describe('lib/cypress', () => {
return Promise.join(
fs.statAsync(path.join(cfg.integrationFolder, 'examples', 'actions.spec.js')),
fs.statAsync(path.join(cfg.integrationFolder, 'examples', 'files.spec.js')),
- fs.statAsync(path.join(cfg.integrationFolder, 'examples', 'viewport.spec.js'))
+ fs.statAsync(path.join(cfg.integrationFolder, 'examples', 'viewport.spec.js')),
)
})
})
@@ -792,7 +792,7 @@ describe('lib/cypress', () => {
const found1 = _.find(argsSet, (args) => {
return _.find(args, (arg) => {
return arg.message && arg.message.includes(
- 'Browser: \'foo\' was not found on your system.'
+ 'Browser: \'foo\' was not found on your system.',
)
})
})
@@ -802,7 +802,7 @@ describe('lib/cypress', () => {
const found2 = _.find(argsSet, (args) => {
return _.find(args, (arg) => {
return arg.message && arg.message.includes(
- 'Available browsers found are: chrome, chromium, chrome:canary, electron'
+ 'Available browsers found are: chrome, chromium, chrome:canary, electron',
)
})
})
diff --git a/packages/server/test/performance/proxy_performance_spec.js b/packages/server/test/performance/proxy_performance_spec.js
index f7056629b1..13dbd580ab 100644
--- a/packages/server/test/performance/proxy_performance_spec.js
+++ b/packages/server/test/performance/proxy_performance_spec.js
@@ -350,7 +350,7 @@ describe('Proxy Performance', function () {
cyServer = Server()
return cyServer.open(config)
- })
+ }),
)
})
})
diff --git a/packages/server/test/scripts/rename.js b/packages/server/test/scripts/rename.js
index f2a2c3ddfd..9c25877722 100644
--- a/packages/server/test/scripts/rename.js
+++ b/packages/server/test/scripts/rename.js
@@ -25,7 +25,7 @@ const removeChunkPrefixes = () => {
return Promise.join(
renameFiles('test/e2e/**/*'),
- renameFiles('__snapshots__/**/*')
+ renameFiles('__snapshots__/**/*'),
)
}
@@ -37,12 +37,12 @@ const renameSnapshotsToMatchSpecs = () => {
const specName = path.basename(spec)
const pathToSnapshot = path.resolve(
- __dirname, '..', '..', '__snapshots__', specName.slice(2)
+ __dirname, '..', '..', '__snapshots__', specName.slice(2),
)
const pathToRenamedSnapshot = path.join(
path.dirname(pathToSnapshot),
- specName
+ specName,
)
return fs.renameAsync(pathToSnapshot, pathToRenamedSnapshot)
diff --git a/packages/server/test/scripts/run.js b/packages/server/test/scripts/run.js
index 14852da8c9..f81040f9a8 100644
--- a/packages/server/test/scripts/run.js
+++ b/packages/server/test/scripts/run.js
@@ -64,7 +64,7 @@ if (isWindows()) {
if (options['inspect-brk']) {
commandAndArguments.args.push(
'--inspect',
- `--inspect-brk${options['inspect-brk'] === true ? '' : `=${options['inspect-brk']}`}`
+ `--inspect-brk${options['inspect-brk'] === true ? '' : `=${options['inspect-brk']}`}`,
)
}
@@ -72,21 +72,21 @@ if (isGteNode12()) {
// max HTTP header size 8kb -> 1mb
// https://github.com/cypress-io/cypress/issues/76
commandAndArguments.args.push(
- `--max-http-header-size=${1024 * 1024}`
+ `--max-http-header-size=${1024 * 1024}`,
)
}
if (!isWindows()) {
commandAndArguments.args.push(
'node_modules/.bin/_mocha',
- run
+ run,
)
}
if (options.fgrep) {
commandAndArguments.args.push(
'--fgrep',
- options.fgrep
+ options.fgrep,
)
}
@@ -98,7 +98,7 @@ commandAndArguments.args.push(
'--reporter',
'mocha-multi-reporters',
'--reporter-options',
- 'configFile=../../mocha-reporter-config.json'
+ 'configFile=../../mocha-reporter-config.json',
)
const env = _.clone(process.env)
diff --git a/packages/server/test/support/fixtures/projects/chrome-browser-preferences/cypress/plugins/index.js b/packages/server/test/support/fixtures/projects/chrome-browser-preferences/cypress/plugins/index.js
index 4a01eedb72..8ae57533e2 100644
--- a/packages/server/test/support/fixtures/projects/chrome-browser-preferences/cypress/plugins/index.js
+++ b/packages/server/test/support/fixtures/projects/chrome-browser-preferences/cypress/plugins/index.js
@@ -36,7 +36,7 @@ module.exports = (on, config) => {
expect(defaultPrefs.foo).to.eq('bar')
expect(defaultSecure.bar).to.eq('baz')
expect(localState.baz).to.eq('quux')
- }
+ },
)
.thenReturn(null)
},
diff --git a/packages/server/test/support/fixtures/projects/e2e/cypress/plugins/index.js b/packages/server/test/support/fixtures/projects/e2e/cypress/plugins/index.js
index 34d40e54c5..74bd46ffd1 100644
--- a/packages/server/test/support/fixtures/projects/e2e/cypress/plugins/index.js
+++ b/packages/server/test/support/fixtures/projects/e2e/cypress/plugins/index.js
@@ -36,7 +36,7 @@ module.exports = (on, config) => {
// this is needed to ensure correct error screenshot / video recording
// resolution of exactly 1280x720 (height must account for firefox url bar)
options.args = options.args.concat(
- ['-width', '1280', '-height', '794']
+ ['-width', '1280', '-height', '794'],
)
}
diff --git a/packages/server/test/support/helpers/e2e.js b/packages/server/test/support/helpers/e2e.js
index b8f59f25db..b44c4c024d 100644
--- a/packages/server/test/support/helpers/e2e.js
+++ b/packages/server/test/support/helpers/e2e.js
@@ -225,12 +225,12 @@ const copy = function () {
return Promise.join(
screenshots.copy(
screenshotsFolder,
- path.join(ca, path.basename(screenshotsFolder))
+ path.join(ca, path.basename(screenshotsFolder)),
),
videoCapture.copy(
videosFolder,
- path.join(ca, path.basename(videosFolder))
- )
+ path.join(ca, path.basename(videosFolder)),
+ ),
)
}
}
@@ -393,7 +393,7 @@ const e2e = {
if (_.isArray(npmI)) {
const copyToE2ENodeModules = (module) => {
return fs.copyAsync(
- path.resolve('node_modules', module), Fixtures.path(`projects/e2e/node_modules/${module}`)
+ path.resolve('node_modules', module), Fixtures.path(`projects/e2e/node_modules/${module}`),
)
}
diff --git a/packages/server/test/unit/modes/run_spec.js b/packages/server/test/unit/modes/run_spec.js
index c643e84afa..8b80b910bd 100644
--- a/packages/server/test/unit/modes/run_spec.js
+++ b/packages/server/test/unit/modes/run_spec.js
@@ -764,7 +764,7 @@ describe('lib/modes/run', () => {
},
{
show: true,
- }
+ },
)
})
})
diff --git a/packages/server/test/unit/scaffold_spec.js b/packages/server/test/unit/scaffold_spec.js
index 39ba82e5b1..3ca06a2b7f 100644
--- a/packages/server/test/unit/scaffold_spec.js
+++ b/packages/server/test/unit/scaffold_spec.js
@@ -122,14 +122,14 @@ describe('lib/scaffold', () => {
it('creates both integrationFolder and example specs when integrationFolder does not exist', function () {
return Promise.join(
cypressEx.getPathToExamples(),
- scaffold.integration(this.integrationFolder, this.cfg)
+ scaffold.integration(this.integrationFolder, this.cfg),
)
.spread((exampleSpecs) => {
return Promise.join(
fs.statAsync(`${this.integrationFolder}/examples/actions.spec.js`).get('size'),
fs.statAsync(exampleSpecs[0]).get('size'),
fs.statAsync(`${this.integrationFolder}/examples/location.spec.js`).get('size'),
- fs.statAsync(exampleSpecs[8]).get('size')
+ fs.statAsync(exampleSpecs[8]).get('size'),
).spread((size1, size2, size3, size4) => {
expect(size1).to.eq(size2)
@@ -244,7 +244,7 @@ describe('lib/scaffold', () => {
.then(() => {
return Promise.join(
fs.readFileAsync(`${this.supportFolder}/commands.js`, 'utf8'),
- fs.readFileAsync(`${this.supportFolder}/index.js`, 'utf8')
+ fs.readFileAsync(`${this.supportFolder}/index.js`, 'utf8'),
).spread((commandsContents, indexContents) => {
snapshot(commandsContents)
diff --git a/packages/server/test/unit/screenshots_spec.js b/packages/server/test/unit/screenshots_spec.js
index 4bb6a6d137..e14c68da4c 100644
--- a/packages/server/test/unit/screenshots_spec.js
+++ b/packages/server/test/unit/screenshots_spec.js
@@ -495,11 +495,11 @@ describe('lib/screenshots', () => {
return screenshots.save(
{ name: 'foo bar\\baz/my-screenshot', specName: 'foo.spec.js', testFailure: false },
details,
- this.config.screenshotsFolder
+ this.config.screenshotsFolder,
)
.then((result) => {
const expectedPath = path.join(
- this.config.screenshotsFolder, 'foo.spec.js', 'foo bar', 'baz', 'my-screenshot.png'
+ this.config.screenshotsFolder, 'foo.spec.js', 'foo bar', 'baz', 'my-screenshot.png',
)
const actualPath = path.normalize(result.path)
@@ -536,11 +536,11 @@ describe('lib/screenshots', () => {
return screenshots.save(
{ name: 'with-buffer', specName: 'foo.spec.js', testFailure: false },
details,
- this.config.screenshotsFolder
+ this.config.screenshotsFolder,
)
.then((result) => {
const expectedPath = path.join(
- this.config.screenshotsFolder, 'foo.spec.js', 'with-buffer.png'
+ this.config.screenshotsFolder, 'foo.spec.js', 'with-buffer.png',
)
const actualPath = path.normalize(result.path)
@@ -585,7 +585,7 @@ describe('lib/screenshots', () => {
}, 'png', 'path/to/screenshots')
.then((p) => {
expect(p).to.eq(
- 'path/to/screenshots/examples/user/list.js/quux/lorem.png'
+ 'path/to/screenshots/examples/user/list.js/quux/lorem.png',
)
})
})
@@ -599,7 +599,7 @@ describe('lib/screenshots', () => {
}, 'png', 'path/to/screenshots')
.then((p) => {
expect(p).to.eq(
- 'path/to/screenshots/examples/user/list.js/bar -- baz (failed).png'
+ 'path/to/screenshots/examples/user/list.js/bar -- baz (failed).png',
)
})
})
@@ -613,7 +613,7 @@ describe('lib/screenshots', () => {
}, 'png', 'path/to/screenshots')
.then((p) => {
expect(p).to.eq(
- 'path/to/screenshots/examples$/user/list.js/bar -- baz -- 語言 (failed).png'
+ 'path/to/screenshots/examples$/user/list.js/bar -- baz -- 語言 (failed).png',
)
})
})
diff --git a/scripts/add_newlines_to_snapshots.js b/scripts/add_newlines_to_snapshots.js
index d1e2ff6255..b67822e11f 100644
--- a/scripts/add_newlines_to_snapshots.js
+++ b/scripts/add_newlines_to_snapshots.js
@@ -14,7 +14,7 @@ globAsync('packages/server/__snapshots__/*')
return str
.replace(
contentBetweenBackticksRe,
- '`\n$1\n`'
+ '`\n$1\n`',
)
.split('`\n\n\n').join('`\n\n')
.split('\n\n\n\n`').join('\n\n\n`')
diff --git a/scripts/binary/util/purge-cloudflare-cache.ts b/scripts/binary/util/purge-cloudflare-cache.ts
index 1b516bf4b4..1ab9956c36 100644
--- a/scripts/binary/util/purge-cloudflare-cache.ts
+++ b/scripts/binary/util/purge-cloudflare-cache.ts
@@ -13,7 +13,7 @@ function hasCloudflareEnvironmentVars () {
export function purgeCloudflareCache (url) {
la(
hasCloudflareEnvironmentVars(),
- 'Cannot purge Cloudflare cache without credentials. Ensure that the CF_TOKEN and CF_ZONEID environment variables are set.'
+ 'Cannot purge Cloudflare cache without credentials. Ensure that the CF_TOKEN and CF_ZONEID environment variables are set.',
)
la(check.webUrl(url), 'Missing url to purge from Cloudflare.')
diff --git a/scripts/check-node-version.js b/scripts/check-node-version.js
index 50d178d780..9ccc2c3b42 100644
--- a/scripts/check-node-version.js
+++ b/scripts/check-node-version.js
@@ -39,7 +39,7 @@ if (isWindows() && process.env.APPVEYOR) {
assert.equal(
os.arch(),
'ia32',
- getErrMsg('ia32')
+ getErrMsg('ia32'),
)
break
@@ -47,7 +47,7 @@ if (isWindows() && process.env.APPVEYOR) {
assert.equal(
os.arch(),
'x64',
- getErrMsg('x64')
+ getErrMsg('x64'),
)
break
@@ -61,7 +61,7 @@ const join = require('path').join
const nodeVersionNeededString = read(
join(__dirname, '..', '.node-version'),
- 'utf8'
+ 'utf8',
)
const nodeVersionNeeded = nodeVersionNeededString.split('.')
diff --git a/scripts/decaff/no-cond-assign.js b/scripts/decaff/no-cond-assign.js
index 3c74a3b1f8..2a8fd95461 100644
--- a/scripts/decaff/no-cond-assign.js
+++ b/scripts/decaff/no-cond-assign.js
@@ -17,7 +17,7 @@ module.exports = (fileInfo, api) => {
const ifStatement = j.ifStatement(
node.test.left,
node.consequent,
- node.alternate
+ node.alternate,
)
return [
diff --git a/scripts/decaff/switch-false.js b/scripts/decaff/switch-false.js
index 850a8fe904..ae09663d6e 100644
--- a/scripts/decaff/switch-false.js
+++ b/scripts/decaff/switch-false.js
@@ -72,7 +72,7 @@ function generateIfStatement (j, cases) {
ifStatement = j.ifStatement(
c.test,
content,
- ifStatement
+ ifStatement,
)
})
diff --git a/scripts/test-other-projects.js b/scripts/test-other-projects.js
index decca73668..34f9dd5207 100644
--- a/scripts/test-other-projects.js
+++ b/scripts/test-other-projects.js
@@ -145,6 +145,6 @@ bump
getStatusAndMessage,
cliOptions.provider,
shortNpmVersion,
- platform
+ platform,
)
.catch(onError)
diff --git a/scripts/unit/binary/bump-spec.js b/scripts/unit/binary/bump-spec.js
index 0e284f14e4..7cdf183a03 100644
--- a/scripts/unit/binary/bump-spec.js
+++ b/scripts/unit/binary/bump-spec.js
@@ -24,7 +24,7 @@ describe('bump', () => {
la(
R.equals(filtered, projects),
'should have kept all projects',
- filtered
+ filtered,
)
})
@@ -34,7 +34,7 @@ describe('bump', () => {
la(
projects.length,
'there should be at least a few projects in the list of projects',
- projects
+ projects,
)
const filter = bump.getFilterByProvider('circle', 'darwin')
diff --git a/scripts/unit/binary/move-binaries-spec.js b/scripts/unit/binary/move-binaries-spec.js
index f53cd81cd0..d51656dd70 100644
--- a/scripts/unit/binary/move-binaries-spec.js
+++ b/scripts/unit/binary/move-binaries-spec.js
@@ -140,7 +140,7 @@ describe('move-binaries', () => {
.withArgs(
`${latestMacBuild}cypress.zip`,
'desktop/3.3.0/darwin-x64/cypress.zip',
- aws.bucket
+ aws.bucket,
)
.resolves()
diff --git a/scripts/unit/binary/upload-spec.js b/scripts/unit/binary/upload-spec.js
index ae59c1ea82..3309da47a2 100644
--- a/scripts/unit/binary/upload-spec.js
+++ b/scripts/unit/binary/upload-spec.js
@@ -47,7 +47,7 @@ describe('upload', () => {
la(
folder === 'desktop/3.3.0/darwin-x64/',
'wrong upload desktop folder',
- folder
+ folder,
)
})
})
diff --git a/scripts/unit/binary/util/packages-spec.js b/scripts/unit/binary/util/packages-spec.js
index 1525ada452..2f81a84fac 100644
--- a/scripts/unit/binary/util/packages-spec.js
+++ b/scripts/unit/binary/util/packages-spec.js
@@ -67,7 +67,7 @@ describe('packages', () => {
}),
},
},
- }
+ },
)
const res = await packages.getPackagesWithScript('build')
diff --git a/scripts/unit/konfig-spec.js b/scripts/unit/konfig-spec.js
index 9c6b3e6fec..346b417414 100644
--- a/scripts/unit/konfig-spec.js
+++ b/scripts/unit/konfig-spec.js
@@ -23,7 +23,7 @@ describe('konfig check', () => {
!cwd.includes(join('packages', 'server')),
'process CWD is set to',
cwd,
- 'for some reason'
+ 'for some reason',
)
// if the above assertion breaks, it means some script in binary scripts
// loads "lib/konfig" directly, which unexpectedly changes the CWD.
@@ -38,7 +38,7 @@ describe('konfig check', () => {
'previous cwd',
cwd,
'differs after loading konfig',
- cwdAfter
+ cwdAfter,
)
la(is.fn(konfig), 'expected konfig to be a function', konfig)
diff --git a/scripts/win-appveyor-build.js b/scripts/win-appveyor-build.js
index ca0f2d76a0..fa458a09da 100755
--- a/scripts/win-appveyor-build.js
+++ b/scripts/win-appveyor-build.js
@@ -54,7 +54,7 @@ la(is.unemptyString(version), 'missing NEXT_DEV_VERSION')
console.log('building version', version)
shell.exec(
- `node scripts/binary.js upload-npm-package --file cli/build/${filename} --version ${version}`
+ `node scripts/binary.js upload-npm-package --file cli/build/${filename} --version ${version}`,
)
const arch = os.arch()
@@ -77,7 +77,7 @@ const result = shell.exec('yarn list --dev --depth 0 || true', {
if (result.stdout.includes('nodemon')) {
console.error('Hmm, server package includes dev dependency "coveralls"')
console.error(
- 'which means somehow we are including dev dependencies in the output bundle'
+ 'which means somehow we are including dev dependencies in the output bundle',
)
console.error('see https://github.com/cypress-io/cypress/issues/2896')
@@ -115,15 +115,15 @@ if (isPullRequest()) {
shell.exec('yarn binary-zip')
shell.ls('-l', '*.zip')
shell.exec(
- `node scripts/binary.js upload-unique-binary --file cypress.zip --version ${version}`
+ `node scripts/binary.js upload-unique-binary --file cypress.zip --version ${version}`,
)
shell.cat('binary-url.json')
shell.exec(
- 'node scripts/add-install-comment.js --npm npm-package-url.json --binary binary-url.json'
+ 'node scripts/add-install-comment.js --npm npm-package-url.json --binary binary-url.json',
)
shell.exec(
- 'node scripts/test-other-projects.js --npm npm-package-url.json --binary binary-url.json --provider appVeyor'
+ 'node scripts/test-other-projects.js --npm npm-package-url.json --binary binary-url.json --provider appVeyor',
)
}
diff --git a/yarn.lock b/yarn.lock
index 0f5fc88b10..318cf815b9 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -5129,7 +5129,7 @@ ansi-cyan@^0.1.1:
dependencies:
ansi-wrap "0.1.0"
-ansi-escapes@4.3.0:
+ansi-escapes@4.3.0, ansi-escapes@^4.2.1:
version "4.3.0"
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.0.tgz#a4ce2b33d6b214b7950d8595c212f12ac9cc569d"
integrity sha512-EiYhwo0v255HUL6eDyuLrXEkTi7WwVCLAw+SeOQ7M7qdun1z1pum4DEm/nuqIVbPvi9RPPc9k9LbyBv6H0DwVg==
@@ -8407,6 +8407,13 @@ cli-cursor@^2.0.0, cli-cursor@^2.1.0:
dependencies:
restore-cursor "^2.0.0"
+cli-cursor@^3.1.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307"
+ integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==
+ dependencies:
+ restore-cursor "^3.1.0"
+
cli-table3@0.5.1:
version "0.5.1"
resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.5.1.tgz#0252372d94dfc40dbd8df06005f48f31f656f202"
@@ -11199,7 +11206,7 @@ eslint-scope@^5.0.0:
esrecurse "^4.1.0"
estraverse "^4.1.1"
-eslint-utils@^1.3.1, eslint-utils@^1.4.3:
+eslint-utils@^1.4.3:
version "1.4.3"
resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f"
integrity sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==
@@ -11211,10 +11218,10 @@ eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.1.0:
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"
integrity sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==
-eslint@6.1.0:
- version "6.1.0"
- resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.1.0.tgz#06438a4a278b1d84fb107d24eaaa35471986e646"
- integrity sha512-QhrbdRD7ofuV09IuE2ySWBz0FyXCq0rriLTZXZqaWSI79CVtHVRdkFuFTViiqzZhkCgfOh9USpriuGN2gIpZDQ==
+eslint@6.8.0:
+ version "6.8.0"
+ resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.8.0.tgz#62262d6729739f9275723824302fb227c8c93ffb"
+ integrity sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig==
dependencies:
"@babel/code-frame" "^7.0.0"
ajv "^6.10.0"
@@ -11223,19 +11230,19 @@ eslint@6.1.0:
debug "^4.0.1"
doctrine "^3.0.0"
eslint-scope "^5.0.0"
- eslint-utils "^1.3.1"
- eslint-visitor-keys "^1.0.0"
- espree "^6.0.0"
+ eslint-utils "^1.4.3"
+ eslint-visitor-keys "^1.1.0"
+ espree "^6.1.2"
esquery "^1.0.1"
esutils "^2.0.2"
file-entry-cache "^5.0.1"
functional-red-black-tree "^1.0.1"
glob-parent "^5.0.0"
- globals "^11.7.0"
+ globals "^12.1.0"
ignore "^4.0.6"
import-fresh "^3.0.0"
imurmurhash "^0.1.4"
- inquirer "^6.4.1"
+ inquirer "^7.0.0"
is-glob "^4.0.0"
js-yaml "^3.13.1"
json-stable-stringify-without-jsonify "^1.0.1"
@@ -11244,7 +11251,7 @@ eslint@6.1.0:
minimatch "^3.0.4"
mkdirp "^0.5.1"
natural-compare "^1.4.0"
- optionator "^0.8.2"
+ optionator "^0.8.3"
progress "^2.0.0"
regexpp "^2.0.1"
semver "^6.1.2"
@@ -11254,7 +11261,7 @@ eslint@6.1.0:
text-table "^0.2.0"
v8-compile-cache "^2.0.3"
-espree@^6.0.0:
+espree@^6.1.2:
version "6.1.2"
resolved "https://registry.yarnpkg.com/espree/-/espree-6.1.2.tgz#6c272650932b4f91c3714e5e7b5f5e2ecf47262d"
integrity sha512-2iUPuuPP+yW1PZaMSDM9eyVf8D5P0Hi8h83YtZ5bPc/zHYjII5khoixIUTMO794NOY8F/ThF1Bo8ncZILarUTA==
@@ -11429,18 +11436,16 @@ execa@1.0.0, execa@^1.0.0:
signal-exit "^3.0.0"
strip-eof "^1.0.0"
-execa@3.3.0:
- version "3.3.0"
- resolved "https://registry.yarnpkg.com/execa/-/execa-3.3.0.tgz#7e348eef129a1937f21ecbbd53390942653522c1"
- integrity sha512-j5Vit5WZR/cbHlqU97+qcnw9WHRCIL4V1SVe75VcHcD1JRBdt8fv0zw89b7CQHQdUHTt2VjuhcF5ibAgVOxqpg==
+execa@2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/execa/-/execa-2.0.0.tgz#5524c9739710e603e97c6dfc3f6ff6bff2819885"
+ integrity sha512-+ym7S09yUVPHEhYBsdLm53ZjCmCSeAQVtM/iN9dDj9tbvcBnCeBXTXHPWR9HXzht+vslGROteM8bSUdr4YszUg==
dependencies:
- cross-spawn "^7.0.0"
+ cross-spawn "^6.0.5"
get-stream "^5.0.0"
- human-signals "^1.1.1"
is-stream "^2.0.0"
merge-stream "^2.0.0"
- npm-run-path "^4.0.0"
- onetime "^5.1.0"
+ npm-run-path "^3.0.0"
p-finally "^2.0.0"
signal-exit "^3.0.2"
strip-final-newline "^2.0.0"
@@ -11966,6 +11971,13 @@ figures@^2.0.0:
dependencies:
escape-string-regexp "^1.0.5"
+figures@^3.0.0:
+ version "3.2.0"
+ resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af"
+ integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==
+ dependencies:
+ escape-string-regexp "^1.0.5"
+
file-entry-cache@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c"
@@ -13135,11 +13147,18 @@ global@~4.3.0:
min-document "^2.19.0"
process "~0.5.1"
-globals@^11.1.0, globals@^11.12.0, globals@^11.7.0:
+globals@^11.1.0, globals@^11.12.0:
version "11.12.0"
resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==
+globals@^12.1.0:
+ version "12.3.0"
+ resolved "https://registry.yarnpkg.com/globals/-/globals-12.3.0.tgz#1e564ee5c4dded2ab098b0f88f24702a3c56be13"
+ integrity sha512-wAfjdLgFsPZsklLJvOBUBmzYE8/CwhEqSBEMRXA3qxIiNtyqvjYurAtIfDh6chlEPUfmTY3MnZh5Hfh4q0UlIw==
+ dependencies:
+ type-fest "^0.8.1"
+
globals@^6.4.0:
version "6.4.1"
resolved "https://registry.yarnpkg.com/globals/-/globals-6.4.1.tgz#8498032b3b6d1cc81eebc5f79690d8fe29fabf4f"
@@ -14345,7 +14364,7 @@ inquirer@6.3.1:
strip-ansi "^5.1.0"
through "^2.3.6"
-inquirer@^6.2.0, inquirer@^6.4.1:
+inquirer@^6.2.0:
version "6.5.2"
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca"
integrity sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ==
@@ -14364,6 +14383,25 @@ inquirer@^6.2.0, inquirer@^6.4.1:
strip-ansi "^5.1.0"
through "^2.3.6"
+inquirer@^7.0.0:
+ version "7.0.4"
+ resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.0.4.tgz#99af5bde47153abca23f5c7fc30db247f39da703"
+ integrity sha512-Bu5Td5+j11sCkqfqmUTiwv+tWisMtP0L7Q8WrqA2C/BbBhy1YTdFrvjjlrKq8oagA/tLQBski2Gcx/Sqyi2qSQ==
+ dependencies:
+ ansi-escapes "^4.2.1"
+ chalk "^2.4.2"
+ cli-cursor "^3.1.0"
+ cli-width "^2.0.0"
+ external-editor "^3.0.3"
+ figures "^3.0.0"
+ lodash "^4.17.15"
+ mute-stream "0.0.8"
+ run-async "^2.2.0"
+ rxjs "^6.5.3"
+ string-width "^4.1.0"
+ strip-ansi "^5.1.0"
+ through "^2.3.6"
+
insert-module-globals@^7.0.0:
version "7.2.0"
resolved "https://registry.yarnpkg.com/insert-module-globals/-/insert-module-globals-7.2.0.tgz#ec87e5b42728479e327bd5c5c71611ddfb4752ba"
@@ -17818,7 +17856,7 @@ mute-stream@0.0.7:
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab"
integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=
-mute-stream@~0.0.4:
+mute-stream@0.0.8, mute-stream@~0.0.4:
version "0.0.8"
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"
integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==
@@ -18958,7 +18996,7 @@ optimist@^0.6.1:
minimist "~0.0.1"
wordwrap "~0.0.2"
-optionator@^0.8.1, optionator@^0.8.2:
+optionator@^0.8.1, optionator@^0.8.3:
version "0.8.3"
resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495"
integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==
@@ -21698,6 +21736,14 @@ restore-cursor@^2.0.0:
onetime "^2.0.0"
signal-exit "^3.0.2"
+restore-cursor@^3.1.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e"
+ integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==
+ dependencies:
+ onetime "^5.1.0"
+ signal-exit "^3.0.2"
+
ret@~0.1.10:
version "0.1.15"
resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
@@ -21872,6 +21918,13 @@ rxjs@^6.3.3, rxjs@^6.4.0:
dependencies:
tslib "^1.9.0"
+rxjs@^6.5.3:
+ version "6.5.4"
+ resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.4.tgz#e0777fe0d184cec7872df147f303572d414e211c"
+ integrity sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q==
+ dependencies:
+ tslib "^1.9.0"
+
safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1:
version "5.1.2"
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
@@ -23257,7 +23310,7 @@ string-width@^3.0.0, string-width@^3.1.0:
is-fullwidth-code-point "^2.0.0"
strip-ansi "^5.1.0"
-string-width@^4.0.0, string-width@^4.2.0:
+string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5"
integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==