Skip to content

Commit

Permalink
Fix Spinner test
Browse files Browse the repository at this point in the history
  • Loading branch information
VTEX committed Sep 16, 2021
1 parent 4906856 commit 802c06e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/store-ui/src/atoms/Spinner/Spinner.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import Spinner from './Spinner'

describe('Spinner', () => {
it('`data-store-spinner` is present', () => {
const { getByTestId } = render(<Spinner data-testid="store-spinner" />)
const { getByTestId } = render(<Spinner />)

expect(getByTestId('loading')).toHaveAttribute('data-store-spinner')
expect(getByTestId('store-spinner')).toHaveAttribute('data-store-spinner')
})
})

0 comments on commit 802c06e

Please sign in to comment.