Add mock for Element.scrollIntoView to fix tests.
Signed-off-by: Sydney Achinger <sydneynicoleachinger@spotify.com>
This commit is contained in:
@@ -91,8 +91,6 @@ const configApi = new MockConfigApi({
|
||||
},
|
||||
});
|
||||
|
||||
Element.prototype.scrollIntoView = jest.fn();
|
||||
|
||||
const Wrapper = ({ children }: { children: React.ReactNode }) => {
|
||||
return (
|
||||
<TestApiProvider
|
||||
|
||||
Reference in New Issue
Block a user