| 25 | import userEvent from '@testing-library/user-event'; |
| 26 | |
| 27 | let TestSelect = props => ( |
| 28 | <Select data-testid="select" data-foo="bar" {...props}> |
| 29 | <Label>Favorite Animal</Label> |
| 30 | <Button> |
| 31 | <SelectValue /> |
| 32 | </Button> |
| 33 | <Text slot="description">Description</Text> |
| 34 | <Text slot="errorMessage">Error</Text> |
| 35 | <Popover> |
| 36 | <ListBox> |
| 37 | <ListBoxItem id="cat">Cat</ListBoxItem> |
| 38 | <ListBoxItem id="dog">Dog</ListBoxItem> |
| 39 | <ListBoxItem id="kangaroo">Kangaroo</ListBoxItem> |
| 40 | </ListBox> |
| 41 | </Popover> |
| 42 | </Select> |
| 43 | ); |
| 44 | |
| 45 | describe('Select', () => { |
| 46 | let user; |
nothing calls this directly
no outgoing calls
no test coverage detected