diff --git a/components/__tests__/icon-button.test.js b/components/__tests__/icon-button.test.js index a0b9630..625da36 100644 --- a/components/__tests__/icon-button.test.js +++ b/components/__tests__/icon-button.test.js @@ -11,8 +11,14 @@ const user = userEvent.setup() -describe('IconButton', () =>{ - it('labels the button', () => { - }) - }) \ No newline at end of file +describe('IconButton', () => { + it('labels the button', () => { + const textFixture = 'Send it!'; + const { getByLabelText } = render(); + + const buttonText = getByLabelText(textFixture); + + expect(buttonText).toBeInTheDocument(); + }) +})