Skip to content

Commit 2622a14

Browse files
committed
test(DualScrollSyncLabel): ensure label is in the document when children is not a string
1 parent c2e78cf commit 2622a14

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/components/DualScrollSync/DualScrollSyncLabel/DualScrollSyncLabel.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ describe('DualScrollSyncLabel', () => {
4747

4848
const label = getByText('Styled Child');
4949

50+
expect(label).toBeInTheDocument();
5051
expect(label).not.toHaveClass('custom-class');
5152
expect(label).not.toHaveStyle('border-width: 1px');
5253
});

0 commit comments

Comments
 (0)