File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed
src/pages/scientificServices/pipelines/common Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff 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} ) ;
You can’t perform that action at this time.
0 commit comments