MockDate
MockDate copied to clipboard
add optional `win` param to replace `window`
The window object that is in scope for a Cypress test is not the same as the window in the application. Add optional param to set and reset to mock the correct window.Date.