Skip to content

add support for -r and --require cli flags #29

@lfurzewaddock

Description

@lfurzewaddock

I'm testing react components that import CSS modules, which throw SyntaxError: Unexpected token . for the first CSS class name found in the CSS file.

Does babel-tape-runner support -r and --require cli flags?

If it did, I could set babel-tape-runner to require ignore-styles for CLI testing with Tape.js, to prevent CSS modules/files being included in tests and therefore throwing errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions