Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. // target folder part of regression conf file
  2.  
  3. const now = new Date();
  4. exports.report_name = 'Report-regression-' + now.getFullYear() + "-" + (now.getMonth() + 1) + "-" + now.getDate() + "-" + now.getHours() + "-" + now.getMinutes() + "-" + now.getSeconds();
  5.  
  6. // target folder part of smoke conf file
  7.  
  8. const now = new Date();
  9. exports.report_name = 'Report-smoke-' + now.getFullYear() + "-" + (now.getMonth() + 1) + "-" + now.getDate() + "-" + now.getHours() + "-" + now.getMinutes() + "-" + now.getSeconds();
  10.  
  11.  
  12. // target folder part of uat conf file
  13.  
  14. const now = new Date();
  15. exports.report_name = 'Report-uat-' + now.getFullYear() + "-" + (now.getMonth() + 1) + "-" + now.getDate() + "-" + now.getHours() + "-" + now.getMinutes() + "-" + now.getSeconds();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement