lint fix
This commit is contained in:
parent
a69fdbfc16
commit
fab5832425
|
@ -15,6 +15,7 @@
|
||||||
/**
|
/**
|
||||||
* @type {Cypress.PluginConfig}
|
* @type {Cypress.PluginConfig}
|
||||||
*/
|
*/
|
||||||
|
// eslint-disable-next-line no-unused-vars
|
||||||
module.exports = (on, config) => {
|
module.exports = (on, config) => {
|
||||||
// `on` is used to hook into various events Cypress emits
|
// `on` is used to hook into various events Cypress emits
|
||||||
// `config` is the resolved Cypress config
|
// `config` is the resolved Cypress config
|
||||||
|
|
|
@ -11,10 +11,7 @@ const run = require("../../cli/src/commands/run/runHandler")
|
||||||
|
|
||||||
rimraf.sync(homedir)
|
rimraf.sync(homedir)
|
||||||
|
|
||||||
init({ dir: homedir, clientId: "cypress-test" })
|
init({ dir: homedir, clientId: "cypress-test" }).then(() => {
|
||||||
.then(() => {
|
|
||||||
delete require.cache[require.resolve("../../server/src/environment")]
|
delete require.cache[require.resolve("../../server/src/environment")]
|
||||||
run({ dir: homedir })
|
run({ dir: homedir })
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue