Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xolott opened this issue Jan 31, 2025 · 0 comments
Open

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

xolott opened this issue Jan 31, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@xolott
Copy link

xolott commented Jan 31, 2025

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
@xolott xolott added the bug Something isn't working label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant