Skip to content

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

@elevatebart

Description

@elevatebart

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions