-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
#798 exclude built-in cypress reporters from dependency check #803
base: main
Are you sure you want to change the base?
#798 exclude built-in cypress reporters from dependency check #803
Conversation
The test case is pretty much a direct copy of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, just a few nitpicks. Happy to merge then!
reporter: "junit", | ||
e2e: { | ||
...nxE2EPreset(__dirname, {}), | ||
...cypressJsonConfig, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's a copy and we're already testing e2e
like this the same way than we could just remove the duplication.
return faker; | ||
} | ||
|
||
Cypress.Commands.add('login', login); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same, no need for unnecessary files in fixture folders (less bloat is better long-term).
packages/knip/fixtures/plugins/cypress-builtin-reporter/package.json
Outdated
Show resolved
Hide resolved
commit: |
…e.json Co-authored-by: Lars Kappert <[email protected]>
cwd, | ||
}); | ||
|
||
assert(!issues.unlisted['cypress.config.ts']['junit']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please revert/add the counters, they're essential to assert there are no other issues.
Is there still interest to wrap this one up? |
Closes #798
Filters out built-in dependencies when checking Cypress reporter packages