Skip to content

Program unknown argument #367

@KhalitovAdel

Description

@KhalitovAdel

I can start my jest tests with some arguments.
jest --color --someOtherArgs

In my test test I create:

const Maildev = require('maildev');
new Maildev();
...

I can see error: unknown argument --color for example.

This is throw from commander need additional flag .allowUnknownOption(true)

Metadata

Metadata

Assignees

No one assigned

    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