Skip to content

[JavaScript] Deprecated option --compilers in Mocha #4258

@ateuhh

Description

@ateuhh

Test's script in package.json looks like:

"test": "mocha --compilers js:@babel/register --recursive"

After running this script, an error message was displayed:

✖ ERROR: --compilers is DEPRECATED and no longer supported.

According to this article, need to use --require instead of --compiler

openapi-generator version 4.1.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions