Fix lint errors
This commit is contained in:
parent
9cd12a8d99
commit
cdc2e34c0e
|
|
@ -287,7 +287,7 @@ class ExpectMetaInfoProxyHandler implements ProxyHandler<any> {
|
||||||
const callback = () => matcher.call(target, ...args);
|
const callback = () => matcher.call(target, ...args);
|
||||||
const result = (matcherName === 'toPass' || this._info.isPoll) ?
|
const result = (matcherName === 'toPass' || this._info.isPoll) ?
|
||||||
zones.run('stepZone', step, callback) :
|
zones.run('stepZone', step, callback) :
|
||||||
zones.run<ExpectZone, any>('expectZone', { title, wallTime, step }, callback);
|
zones.run<ExpectZone, any>('expectZone', { title, wallTime }, callback);
|
||||||
if (result instanceof Promise)
|
if (result instanceof Promise)
|
||||||
return result.then(finalizer).catch(reportStepError);
|
return result.then(finalizer).catch(reportStepError);
|
||||||
finalizer();
|
finalizer();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue