diff --git a/src/components/Button/button.test.tsx b/src/components/Button/button.test.tsx new file mode 100755 index 0000000..ec59f8a --- /dev/null +++ b/src/components/Button/button.test.tsx @@ -0,0 +1,10 @@ + +import React from 'react'; +import { render } from '@testing-library/react'; +import Button from './button'; + +test('our first react test case', () => { + const wrapper = render(); + const element = wrapper.queryByText('Nice'); + expect(element).toBeTruthy(); +}) \ No newline at end of file