File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,15 +25,13 @@ const iconSVG = (
2525
2626const iconUrl = "https://iconape.com/wp-content/files/yd/367773/svg/logo-linkedin-logo-icon-png-svg.png" ;
2727
28- const branding = {
29- logo : {
30- src : iconSVG ,
31- alt : "DXC Logo" ,
32- href : iconUrl ,
33- } ,
34- appTitle :
35- "Application Title with a very long name that exceeds the normal length to test how the header manages overflow situations" ,
28+ const logo = {
29+ src : iconSVG ,
30+ alt : "DXC Logo" ,
31+ href : iconUrl ,
3632} ;
33+ const appTitle =
34+ "Application Title with a very long name that exceeds the normal length to test how the header manages overflow situations" ;
3735
3836const items = [
3937 {
@@ -73,7 +71,8 @@ describe("Header component accessibility tests", () => {
7371 it ( "Should not have basic accessibility issues" , async ( ) => {
7472 const { container } = render (
7573 < DxcHeader
76- branding = { branding }
74+ logo = { logo }
75+ appTitle = { appTitle }
7776 navItems = { items }
7877 sideContent = {
7978 < DxcButton title = "Settings" icon = "settings" mode = "tertiary" size = { { height : "medium" } } onClick = { ( ) => { } } />
You can’t perform that action at this time.
0 commit comments