KotkoroidK
Denoβ€’14mo agoβ€’
2 replies
Kotkoroid

Exclude packages from test coverage

Hi, I would like to exclude the packages from the coverage when I run deno test --coverage.
Currently I also get generated jsons inside coverage directory with url like this: "url": "file:///Users/johndoe/Workspace/Dev/lld-test/node_modules/.deno/wawoff2@2.0.1/node_modules/wawoff2/decompress.js"",

How do I avoid it?
Note that I have it excluded in my
deno.json
as:
    "test": {
        "exclude": ["node_modules"]
    },
Was this page helpful?