What doesn't work?
In box/session implementation in the file sessionStarter.service.ts the numerical times are not in milliseconds:
const now = new Date().getTime();
const timeAfterWeek = now + 60 * 60 * 24 * 7;
const timeAfterMonth = now + 60 * 60 * 24 * 30;
What should it do instead?
Those numerical times should be multiplied by 1000.
Anything else you want to add?
This affects also test(s) related to the service.
What doesn't work?
In box/session implementation in the file
sessionStarter.service.tsthe numerical times are not in milliseconds:What should it do instead?
Those numerical times should be multiplied by 1000.
Anything else you want to add?
This affects also test(s) related to the service.