import React from 'react'; import FloatButton from '..'; import mountTest from '../../../tests/shared/mountTest'; import rtlTest from '../../../tests/shared/rtlTest'; import { fireEvent, render } from '../../../tests/utils'; describe('FloatButton', () => { mountTest(FloatButton); rtlTest(FloatButton); it('should correct render', () => { const { container } = render(); expect(container.firstChild).toMatchSnapshot(); }); it('should render