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

Hotfix/fix vite config and remove warning #275

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

Conversation

nathanfranklin
Copy link
Collaborator

Overview:

This PR has some minor fixes:

  • fixes a default prop warning e035425
  • update jest coverage configuration so that we see files that aren't tested
  • remove duplicate resolve in react/vite.config.ts bca7249

PR Status:

  • Ready.

Testing Steps:

  1. Run unit tests (not coverage)
  2. Run app and note that default prop warning is gone (there are still some for the core-components library)

Fixes warning about default props for this component:
"Support for defaultProps will be removed from function components in a future major release"
Added probably during conflict resolution
@@ -25,8 +25,25 @@ module.exports = {
collectCoverage: true,

// An array of glob patterns indicating a set of files for which coverage information should be collected
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we don't say what to grab, it only shows coverage for files that are tested. so if we aren't testing a component then it doesn't show up in our coverage.

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.

1 participant