File tree Expand file tree Collapse file tree
packages/components/src/internal/components/navigation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -331,12 +331,12 @@ describe('ProductMenuSection', () => {
331331
332332 renderWithAppContext (
333333 < ProductMenuSection
334- containerPath = "/test "
334+ containerPath = "/DefaultTestContainer "
335335 section = { section }
336336 config = {
337337 new MenuSectionConfig ( {
338338 emptyText : 'Testing empty' ,
339- emptyAppURL : 'home' ,
339+ emptyAppURL : AppURL . create ( 'home' ) ,
340340 emptyURLText : 'Create it' ,
341341 } )
342342 }
@@ -348,7 +348,7 @@ describe('ProductMenuSection', () => {
348348 expect ( document . querySelectorAll ( '.empty-section-link' ) . length ) . toBe ( 1 ) ;
349349 expect ( document . querySelectorAll ( '.empty-section-link' ) [ 0 ] . textContent ) . toBe ( 'Create it' ) ;
350350 expect ( document . querySelectorAll ( '.empty-section-link' ) [ 0 ] . querySelector ( 'a' ) . getAttribute ( 'href' ) ) . toBe (
351- 'home'
351+ '/ home'
352352 ) ;
353353 } ) ;
354354
You can’t perform that action at this time.
0 commit comments