We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47a97a9 commit 2bd95cfCopy full SHA for 2bd95cf
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