Skip to content

Support .mocharc Files #2363

@benrr101

Description

@benrr101

Feature Request: Support .mocharc files for discovering and running tests

Description: Mocha supports running tests directly from typescript files with the ts-node package. This is a really neat feature for developers since it eliminates the need to transpile tests before running the tests. However, the VS test adapter explicitly reads js files and passes those to mocha to determine what tests are available.

It would be great if the test adapter could read any mocharc file to determine what files to load and how to load them so that mocha can return the tests that can be executed.

Thanks!

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