Skip to content

Files with syntax errors are ignored #293

@misogl

Description

@misogl

cypress run ignores files with syntax errors and the tests pass without any indication of a problem. The tests should fail instead.

Also when you run tests on a single file with syntax errors cypress run --spec file.js, cypress just displays the message "Tests should begin momentarily..." and hangs.

$ cypress version
Cypress CLI: 0.12.0
Cypress App: 0.17.10

Metadata

Metadata

Assignees

Labels

type: enhancementRequested enhancement of existing feature

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions