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

Merged
merged 6 commits into from
Oct 30, 2024

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.

Copy link
Contributor

@sophia-massie sophia-massie left a comment

Choose a reason for hiding this comment

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

LGTM

@nathanfranklin nathanfranklin merged commit 2769968 into main Oct 30, 2024
5 checks passed
@nathanfranklin nathanfranklin deleted the hotfix/fix-vite-config-and-remove-warning branch October 30, 2024 18:30
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.

2 participants