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

Forced to return config in the plugins file even I don't change it #16860

Closed
elevatebart opened this issue Jun 8, 2021 · 2 comments · Fixed by #16885
Closed

Forced to return config in the plugins file even I don't change it #16860

elevatebart opened this issue Jun 8, 2021 · 2 comments · Fixed by #16885
Assignees

Comments

@elevatebart
Copy link
Contributor

elevatebart commented Jun 8, 2021

Current behavior

In component testing, if my plugins/index.js files function does not return config (see below), the command log displays a "no tests found" error see #16812

// faulty cypress/plugins/index.js
module.exports = (on, config) => {
  on('dev-server:start', (options) => {
    return startDevServer({ options, webpackConfig })
  })
}

Versions

cypress 7.5.0

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jun 10, 2021

The code for this is done in cypress-io/cypress#16885, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot cypress-bot bot added stage: pending release and removed stage: needs review The PR code is done & tested, needs review labels Jun 10, 2021
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jun 23, 2021

Released in 7.6.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v7.6.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Jun 23, 2021
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 a pull request may close this issue.

1 participant