Skip to content

Commit 8ec2bcb

Browse files
committed
fix: nits
1 parent 42f5398 commit 8ec2bcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/elements/content-sharing/__tests__/ContentSharingV2.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const getWrapper = (props): RenderResult =>
4747
itemType={MOCK_ITEM.type}
4848
hasProviders={true}
4949
{...props}
50-
></ContentSharingV2>,
50+
/>,
5151
);
5252

5353
describe('elements/content-sharing/ContentSharingV2', () => {
@@ -127,6 +127,6 @@ describe('elements/content-sharing/ContentSharingV2', () => {
127127
},
128128
);
129129
});
130-
expect(await screen.findByText('BLUE')).toBeVisible();
130+
expect(screen.getByText('BLUE')).toBeVisible();
131131
});
132132
});

0 commit comments

Comments
 (0)