-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* add unit tests for three functions in visibility-panel component * add unit tests for modifyVisibilityControl in visibility-panel component * fix typo for initialized * add test for disallowing visibility when visibility is initially allowed * refactor test strings * remove extra describes * add test for when visibility is already true and isAllowed is true * optimize the number of modifyVisibilityControl calls * remove unneeded FeedbackVisibilityType from test variables * change const boolean to hard coded * refactor jest spy naming * fix linting issues * remove unneeded spaces in test strings * simplify tests * fix formatting inconsistencies * remove unneeded modifyVisibilityControl calls --------- Co-authored-by: Wei Qing <[email protected]>
- Loading branch information
1 parent
7668295
commit d32c2cb
Showing
1 changed file
with
248 additions
and
0 deletions.
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