-
Notifications
You must be signed in to change notification settings - Fork 54
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
Fix a whole bunch of frontend test issues #3028
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
bb1922b
Remove pending org edit tests for now
nickclyde 620f5cd
Merge branch 'main' into nick/add-missing-mocks
nickclyde a02bce4
Add eslint-plugin-testing-library
nickclyde 76106d3
Fix lint errors for PendingOrganizationsContainer.test.tsx
nickclyde 40e8eee
Start fixing new lint errors
nickclyde 2d25b3c
Add eslint-plugin-unused-imports
nickclyde 740fbab
Continue fixing lint errors
nickclyde 4a71b05
Merge branch 'main' into nick/add-missing-mocks
nickclyde 71557f3
Continue fixing lint rules
nickclyde d5a0802
Finish fixing lints
nickclyde f65ac8f
Replace react-test-renderer with testing-library everywhere
nickclyde b4a49f1
Clean up some console warnings
nickclyde cfe511a
Keep working at AddPatient.test.tsx
nickclyde b6caebf
Clean up unused vars
nickclyde 063b8f7
Replace unused vars for i18n constants
nickclyde b6fb3bb
Suppress moment deprecation warning in setupTests.js
nickclyde efe42a5
Fix AddPatient.test.tsx
nickclyde 28c402f
Suppress DOMException in QueueItem.test.tsx
nickclyde d5678d6
Merge branch 'main' into nick/add-missing-mocks
nickclyde 3a76134
Remove remaining act() calls
nickclyde da2aa18
Bump up Jest timeout globally to prevent 'createEvent' TypeError
nickclyde 6e3d685
Exclude frontend test setup file from sonar coverage
nickclyde 9539ed9
Remove unnecessary cleanup calls
nickclyde 63b9087
Add eslint-plugin-jest-dom
nickclyde 76cbd1b
Merge branch 'main' into nick/add-missing-mocks
nickclyde File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Ooh, does this mean I can prefix unused variables with an underscore and the linter won't yell at me for it? 😁
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.
Yes!! 🎉