title: Cypress.moment() is not a function on upgrading Cypress version to 9.6
body: <p>Few test cases in my test suite is failing because I am using Cypress.moment() function in those</p>
  <p>I tried one of the solution mentioned online to upgrade code coverage : npm update @cypress/code-coverage but this did not solved the problem</p>