fix: remove deprecated cy.state('subject')
What:
Replace cy.state('subject') by cy.currentSubject().
Why:
cy.state('subject') is being deprecated:

How:
Replace cy.state('subject') by cy.currentSubject() in utils.ts.
Checklist:
- [ ] Documentation N/A
- [x] Tests
- [x] Ready to be merged
Linking the PR that deprecated this: https://github.com/cypress-io/cypress/pull/23092
While we would normally consider internal state to be internal, cypress-testing-library relies on cy.state('subject'). Therefore, this PR includes a shim to keep that call working as before. Once this PR is released, we will follow up with them to move over to the new call, ensuring that no end users (with or without cypress-testing-library) ever experience disruption (beyond the console warning).
My console appreciates it
Hi! Do you think we can get this merged? Thanks 😄
It would be awesome if this gets merged, if it works that is.
Duplicate of #233