Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch test away from using
enzyme.mount
(#7786)
This switched the `should close the form when user submits it` from using enzyme.mount to React.TestUtilities. This is because enzyme does not fully support React 16.3+ (and movement to do so is really slow). This will fix issues with breakage due to the enzyme incompatibility as components receive React 16.3+ features (such as forwardRef usage in #7557). This specific test was the only one to fail in #7557 due to the test involving the EnhancedAutocomplete component that has forwardRef applied on it.
- Loading branch information