MockDate icon indicating copy to clipboard operation
MockDate copied to clipboard

add optional `win` param to replace `window`

Open ha404 opened this issue 4 years ago • 0 comments

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.

ha404 avatar Sep 23 '21 22:09 ha404