Migrated ScrollToTop test to react testing library

This commit is contained in:
Alejandro Celaya
2022-05-06 20:13:51 +02:00
parent 37adcb52cf
commit d327142d00
4 changed files with 14 additions and 22 deletions

View File

@@ -3,3 +3,4 @@ import 'jest-canvas-mock';
import ResizeObserver from 'resize-observer-polyfill';
(global as any).ResizeObserver = ResizeObserver;
(global as any).scrollTo = () => {};