Skip to content

Commit

Permalink
fix: change report name to cypress env
Browse files Browse the repository at this point in the history
  • Loading branch information
mrCherry97 committed Oct 10, 2024
1 parent a85c811 commit e19540e
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions tests/integration/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,11 @@ module.exports = (on, config) => {
cancelTests: false,
};

const date = new Date();
const todaysDate =
date.getMonth() +
1 +
'/' +
date.getDate() +
'/' +
date.getFullYear() +
'-' +
(date.getUTCHours() + 2) +
':' +
date.getUTCMinutes();
const reportName = `AMP REPORT ${todaysDate}`;

config.env.NAMESPACE_NAME = namespaceName;
config.env.STORAGE_CLASS_NAME = randomName;
config.env.APP_NAME = randomName;
config.env.ACC_AMP_TOKEN = process.env.ACC_AMP_TOKEN;
config.env.AMP_REPORT_NAME = reportName;
config.env.AMP_REPORT_NAME = 'AMP REPORT';

on('task', {
removeFile(filePath) {
Expand Down

0 comments on commit e19540e

Please sign in to comment.