diff --git a/webapp/src/components/Button.test.js b/webapp/src/components/Button.test.js new file mode 100644 index 00000000..b058edf6 --- /dev/null +++ b/webapp/src/components/Button.test.js @@ -0,0 +1,32 @@ +import React from 'react'; +import { render, fireEvent } from '@testing-library/react'; +import Button from './Button'; + + +describe('Button component', () => { + + test('renders button', () => { + const { getByText } = render(