We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d4e49e2 + 2bd95cf commit 44e7b2bCopy full SHA for 44e7b2b
1 file changed
__tests__/src/components/ManifestListItem.test.js
@@ -20,7 +20,7 @@ function createWrapper(props) {
20
21
describe('ManifestListItem', () => {
22
it('renders without an error', () => {
23
- createWrapper({ buttonRef: 'ref' });
+ createWrapper({ buttonRef: jest.fn() });
24
25
expect(screen.getByRole('listitem')).toHaveAttribute('data-manifestid', 'http://example.com');
26
expect(screen.getByRole('listitem')).toHaveClass('MuiListItem-root');
0 commit comments