We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e0b82e commit 2dc77efCopy full SHA for 2dc77ef
src/components/ParallaxProvider/index.test.tsx
@@ -193,7 +193,9 @@ describe('A <ParallaxProvider>', () => {
193
expect(instance2).toBeInstanceOf(ParallaxController);
194
195
// unmount first instance
196
- root1.unmount();
+ act(() => {
197
+ root1.unmount();
198
+ });
199
200
// this must still be defined
201
0 commit comments