Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

feat: allow user to pass sync and async function returning boolean flag #162

Merged
merged 1 commit into from
Jun 10, 2021

Conversation

MCFreddie777
Copy link
Contributor

This should solve #161.

Passing function which returns true or async function returning true to onlyOn and to skipOn.

@CLAassistant
Copy link

CLAassistant commented Jun 10, 2021

CLA assistant check
All committers have signed the CLA.

@bahmutov
Copy link
Contributor

Seems like it should work, merging. Thank you very much for the pull request

@bahmutov bahmutov merged commit dbacc07 into cypress-io:master Jun 10, 2021
@JenyaJilenko
Copy link

Seems like this feature was not released due to failed circleCi job. Could you re-run it? @bahmutov

@bahmutov
Copy link
Contributor

bahmutov commented Sep 21, 2021 via email

@MCFreddie777
Copy link
Contributor Author

I might do it if you want, seems like I just messed up when copying code from skipOn to onlyOn and I copied at a wrong place :) Should I create new PR?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants