File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/components/Extensibility/helpers
tests/integration/tests/namespace Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ import pluralize from 'pluralize';
22
33export const getExtensibilityPath = ( {
44 urlPath,
5- resource : { kind } ,
5+ resource,
66} : {
77 urlPath ?: string | undefined ;
8- resource : { kind : string } ;
9- } ) => urlPath ?? pluralize ( ( kind ?? '' ) . toLowerCase ( ) ) ;
8+ resource ? : { kind ? : string | undefined } ;
9+ } = { } ) => urlPath ?? pluralize ( ( resource ?. kind ?? '' ) . toLowerCase ( ) ) ;
Original file line number Diff line number Diff line change 33context ( 'Create Namespace' , ( ) => {
44 Cypress . skipAfterFail ( { skipAllSuits : true } ) ;
55
6- before ( cy . loginAndSelectCluster ) ;
6+ before ( ( ) => cy . loginAndSelectCluster ( ) ) ;
77
88 it ( 'Create Namespace' , ( ) => {
99 cy . getLeftNav ( )
You can’t perform that action at this time.
0 commit comments