refactor some code
This commit is contained in:
parent
5010e882f6
commit
42933e6bb0
@ -15,14 +15,14 @@ export class TapTools {
|
|||||||
/**
|
/**
|
||||||
* allow failure
|
* allow failure
|
||||||
*/
|
*/
|
||||||
allowFailure() {
|
allowFailure () {
|
||||||
this._tapTest.failureAllowed = true
|
this._tapTest.failureAllowed = true
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* async/await delay method
|
* async/await delay method
|
||||||
*/
|
*/
|
||||||
async delayFor(timeMilliArg) {
|
async delayFor (timeMilliArg) {
|
||||||
await plugins.smartdelay.delayFor(timeMilliArg)
|
await plugins.smartdelay.delayFor(timeMilliArg)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user