Skip to content

Commit

Permalink
Feat: adding test
Browse files Browse the repository at this point in the history
  • Loading branch information
Bento Pereira committed Aug 6, 2021
1 parent 16fe34d commit 6f804c6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/store-ui/src/atoms/Select/Select.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,10 @@ describe('Select', () => {

expect(getByTestId('store-select')).toBeDisabled()
})

it('Select is empty when no options given', () => {
const { getByTestId } = render(<Select disabled />)

expect(getByTestId('store-select')).toBeEmptyDOMElement()
})
})

0 comments on commit 6f804c6

Please sign in to comment.