#Exclude packages from test coverage

2 messages · Page 1 of 1 (latest)

tough orbit
#

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/[email protected]/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"]
    },
fallen oyster
#

That sounds like a bug. Anything inside dependencies should be excluded by default. If you open a bug report with a code snippet that reproduces the issue, the team can fix it. To open an issue follow this link: https://github.com/denoland/deno/issues/new/choose