How to run test with coverage

tried to run yarn test:coverage, but failed

     yarn test:coverage

    yarn run v1.22.4
    $ grunt test:coverage
    Running "run:testCoverageServer" (run) task
    Verifying property run.testCoverageServer exists in config...ERROR
    >> Unable to process task.
    Warning: Required config property "run.testCoverageServer" missing. Use --force to continue.

    Aborted due to warnings.
    error Command failed with exit code 3.
    info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I could not find any document and code related to run.testCoverageServer

how could I launch test with coverage?

@seraphjiang you're not doing anything wrong. I've spotted a typo in our naming for the underlying grunt task. I'll open a PR to fix it!

Cheers

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.