Skip to content

[Bug] Not tested files are not included when all is set to true #53

@xolott

Description

@xolott

Describe the bug

Using the addon the report doesn't include not-tested files if we want to track overall progress

Steps to reproduce the behavior

  1. Add this configuration to your .nycrc.json
{
    "extension": [".vue", ".js", "jsx", ".ts", "tsx"],
    "check-coverage": true,
    "skip-full": false,
    "all": true,
    "include": ["src/**"]
}
  1. Add a new file with any code inside src/
# somefile.ts
export function someFunction() {
    return 'someFunction';
}
  1. Run : pnpm test-storybook --coverage --url http://127.0.0.1:6006
  2. Check the output

Expected behavior

It should show all the not-tested files

Screenshots and/or logs

If applicable, add screenshots and/or logs to help explain your problem.

Environment

  • OS: macOS
  • Node.js version: 22.3.0
  • PNPM version: 9.4.0
  • Browser (if applicable): Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions