Skip to content

Conversation

@ha404
Copy link

@ha404 ha404 commented Sep 23, 2021

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.

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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant