Fix lint errors

This commit is contained in:
Yury Semikhatsky 2024-04-16 15:06:01 -07:00
parent 9cd12a8d99
commit cdc2e34c0e

View file

@ -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();