Skip to content

Commit 858e731

Browse files
committed
cleanup
1 parent 7ac6d46 commit 858e731

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/pages/scientificServices/pipelines/common/zendeskUtils.test.tsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@ describe('zendeskUtils', () => {
1717
);
1818
});
1919
});
20-
});
2120

22-
describe('ZendeskLink', () => {
23-
it('renders correctly with given children and href', () => {
24-
const { getByText } = render(
25-
<ZendeskLink dockKey={DocsKey.QUOTA_DETAILS} additionalStyle={{ fontWeight: 'italics' }}>
26-
Link to my excellent documentation
27-
</ZendeskLink>
28-
);
21+
describe('ZendeskLink', () => {
22+
it('renders correctly with given children and href', () => {
23+
const { getByText } = render(
24+
<ZendeskLink dockKey={DocsKey.QUOTA_DETAILS} additionalStyle={{ fontWeight: 'italics' }}>
25+
Link to my excellent documentation
26+
</ZendeskLink>
27+
);
2928

30-
const linkElement = getByText('Link to my excellent documentation');
31-
expect(linkElement).toBeInTheDocument();
32-
expect(linkElement).toHaveAttribute(
33-
'href',
34-
'https://broadscientificservices.zendesk.com/hc/en-us/articles/39903092619035'
35-
);
36-
expect(linkElement).toHaveStyle('font-weight: italics');
29+
const linkElement = getByText('Link to my excellent documentation');
30+
expect(linkElement).toBeInTheDocument();
31+
expect(linkElement).toHaveAttribute(
32+
'href',
33+
'https://broadscientificservices.zendesk.com/hc/en-us/articles/39903092619035'
34+
);
35+
expect(linkElement).toHaveStyle('font-weight: italics');
36+
});
3737
});
3838
});

0 commit comments

Comments
 (0)