diff --git a/src/components/actions/Button/button.test.tsx b/src/components/actions/Button/button.test.tsx deleted file mode 100644 index 0740000..0000000 --- a/src/components/actions/Button/button.test.tsx +++ /dev/null @@ -1,87 +0,0 @@ -import { Copy } from '@jengaicons/react'; - -import { render, screen } from '../../../test'; - -import { Button } from './Button'; - -describe('); - - expect(screen.getByTestId('test')).toBeInTheDocument(); - }); - - it('should have data-is-loading', () => { - render( - , - ); - - expect(screen.getByTestId('ApplyDbConnection')).toHaveAttribute( - 'data-is-loading', - '', - ); - }); - - it('should have data-is-loading after rerender', () => { - const { rerender } = render( - , - ); - - rerender( - , - ); - - expect(screen.getByTestId('ApplyDbConnection')).toHaveAttribute( - 'data-is-loading', - '', - ); - }); - - it.each([ - ['none', {}], - ['icon', { icon: }], - ])(`should warn if %s specified`, (_, value) => { - const spy = jest.spyOn(console, 'warn').mockImplementation(() => {}); - - render(