We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am looking to create a new file each run with the date or date time in
let filename = 'reports/myreport' + datetime + '.html'
return { ${filename} : htmlReport(data, { title: "My First Report", debug: false }) };
${filename}
I thought this would work.......it doesn't
The text was updated successfully, but these errors were encountered:
@Harvo09 you can do something like this:
export const handleSummary = (data: any) => { return { [`./reports/myreport${new Date().toISOString()}.html`]: htmlReport(data), stdout: textSummary(data, { indent: ' ', enableColors: true }), }; };
Sorry, something went wrong.
No branches or pull requests
I am looking to create a new file each run with the date or date time in
let filename = 'reports/myreport' + datetime + '.html'
return {
${filename}
: htmlReport(data, { title: "My First Report", debug: false }) };I thought this would work.......it doesn't
The text was updated successfully, but these errors were encountered: