Skip to content

Ineffective configuration should error #117

Closed
@jsphstls

Description

@jsphstls

When I successfully run tests while trying to set up code coverage I can see a report such as this:

----------|---------|----------|---------|---------|-------------------
File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
----------|---------|----------|---------|---------|-------------------
All files |       0 |        0 |       0 |       0 |                   
----------|---------|----------|---------|---------|-------------------

I clearly failed to properly configure my coverage collection but there is no indication of that failure.

These files are included in plugins:

  on('task', require('@cypress/code-coverage/task'))
  on('file:preprocessor', require('@cypress/code-coverage/use-babelrc'))

This is in support:

import '@cypress/code-coverage/support'

Could any of these tools throw if they were used but coverage was never processed?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions