test fix
test fix
This commit is contained in:
parent
2ae25e6bd0
commit
b02cbf5ceb
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ describe("getDateForSavedSessionTimeout", () => {
|
||||||
currentDate.setDate(currentDate.getDate() + applicationConfig.SAVED_SESSION_TIMEOUT_DAYS);
|
currentDate.setDate(currentDate.getDate() + applicationConfig.SAVED_SESSION_TIMEOUT_DAYS);
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
const result = getDateForSavedSessionTimeout();
|
const result = new Date(getDateForSavedSessionTimeout()).toUTCString();
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
expect(result).toEqual(currentDate.toUTCString());
|
expect(result).toEqual(currentDate.toUTCString());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue