Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(HTMLMediaElement): mock setter for 'muted' attributes
This is mainly an issue in test environments. React treats 'muted' as a property and sets it after the test environment has been torn down, resulting in console warnings [1]. Fix this by mocking the setter property to do nothing. This doesn't pose any issue in test environments. [1]: testing-library/react-testing-library#470
- Loading branch information