https://cypress.io logo
cy.clock time mock instance access?
# i-need-help
b
for a test setup that uses cy.clock to mock the system date, is there a way to expose an instance of that library with the mocked system clock, something like...
Copy code
Cypress.moment = moment
except moment would have its time mocked like the tests do?