Skip to content

Omit a warning when attempting to use cucumber-expressions in regular expressions #762

@badeball

Description

@badeball

Example of this:

Given(/^foo {string}/, () => {});

This is unequivocally an error and we can give a more appropriate message than that "a step definition is missing". Furthermore, users that really need this can supress the error like

Given(/^foo {string}/, { supressCucumberExpressionWarning: true }, () => {});

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions