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