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

#798 exclude built-in cypress reporters from dependency check #803

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

duncan-thacker
Copy link
Contributor

Closes #798

Filters out built-in dependencies when checking Cypress reporter packages

@duncan-thacker
Copy link
Contributor Author

The test case is pretty much a direct copy of the cypress-multi-reporter one

Copy link
Collaborator

@webpro webpro left a 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,
Copy link
Collaborator

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);
Copy link
Collaborator

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).

Copy link

pkg-pr-new bot commented Oct 4, 2024

Open in Stackblitz

bun add https://pkg.pr.new/knip@803

commit: 82c6ee6

cwd,
});

assert(!issues.unlisted['cypress.config.ts']['junit']);
Copy link
Collaborator

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.

@webpro
Copy link
Collaborator

webpro commented Nov 3, 2024

Is there still interest to wrap this one up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 Cypress: JUnit reporter is incorrectly reported as unlisted dependency
2 participants