The aim of this PR is to improve the dateConstants.js file used across E2E tests. Currently it's a very long file, with inconsistent namings. This PR changes it so that every date has an object associated with it:
so if I want to use say a day 2 days in the future in an E2E test, I can use e.g.:
twoDays.date to use the Date value, or use say twoDays.year for the year, or twoDays.unixMilliseconds.
Introduction :pencil2:
The aim of this PR is to improve the
dateConstants.js
file used across E2E tests. Currently it's a very long file, with inconsistent namings. This PR changes it so that every date has an object associated with it:so if I want to use say a day 2 days in the future in an E2E test, I can use e.g.:
twoDays.date
to use theDate
value, or use saytwoDays.year
for the year, ortwoDays.unixMilliseconds
.Resolution :heavy_check_mark:
List all changes made to the codebase.
Miscellaneous :heavy_plus_sign:
List any additional fixes or improvements.