refactor: 1

This commit is contained in:
xiaojunnuo
2021-01-08 16:59:53 +08:00
parent 15467fc233
commit 137e043dfe
4 changed files with 44 additions and 27 deletions

View File

@@ -5,7 +5,7 @@ const { expect } = pkg
describe('AutoDeploy', function () {
it('#run', async function () {
this.timeout(20000)
this.timeout(120000)
const options = createOptions()
const executor = new Executor()
const ret = await executor.run(options)
@@ -13,7 +13,7 @@ describe('AutoDeploy', function () {
expect(ret.cert).ok
})
it('#forceCert', async function () {
this.timeout(20000)
this.timeout(120000)
const executor = new Executor()
const options = createOptions()
const ret = await executor.run(options, { forceCert: true, forceDeploy: false })
@@ -21,7 +21,7 @@ describe('AutoDeploy', function () {
expect(ret.cert).ok
})
it('#forceDeploy', async function () {
this.timeout(20000)
this.timeout(120000)
const executor = new Executor()
const options = createOptions()
const ret = await executor.run(options, { forceCert: false, forceDeploy: true, forceRedeploy: true })