Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it.skip is not a function #220

Open
srqdeveloper opened this issue Nov 18, 2022 · 0 comments
Open

it.skip is not a function #220

srqdeveloper opened this issue Nov 18, 2022 · 0 comments

Comments

@srqdeveloper
Copy link

When attempting to import '@jscutlery/cypress-harness/support' into our Cypress support file and then running a Cypress suite containing it.skip(...), we get the following error:
it.skip is not a function

An outstanding issue for Angular was described here: angular/angular#46297

Since the bug was not getting much movement from the Angular team, Cypress released this fix. In the interim, adding globalThis.it.skip = globalThis.xit; after our import '@jscutlery/cypress-harness/support'; seems to serve as a workaround for us.

Whether a PR is opened to patch the issue here or someone comes across this bug, I hope this helps.

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

No branches or pull requests

1 participant