You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the command line tool has no type support. It would be nice if we could provide a minimal type definition so we can do this in TypeScript without having any type errors thrown:
importallurefrom'allure-commandline'constgeneration=allure(['generate','allure-results'])returnnewPromise<void>((resolve,reject)=>{constgenerationTimeout=setTimeout(()=>reject(newError('Could not generate Allure report')),5000)generation.on('exit',function(){clearTimeout(generationTimeout)console.log('Allure report successfully generated')resolve()})})
The text was updated successfully, but these errors were encountered:
Currently the command line tool has no type support. It would be nice if we could provide a minimal type definition so we can do this in TypeScript without having any type errors thrown:
The text was updated successfully, but these errors were encountered: