@@ -7,26 +7,26 @@ import {
77describe ( 'Developer UI links generators' , ( ) => {
88 describe ( 'createDeveloperUILinkWithNodeId' , ( ) => {
99 it ( 'should create relative link with no host' , ( ) => {
10- expect ( createDeveloperUILinkWithNodeId ( 1 ) ) . toBe ( '/node/1/ ' ) ;
10+ expect ( createDeveloperUILinkWithNodeId ( 1 ) ) . toBe ( '/node/1' ) ;
1111 } ) ;
1212 it ( 'should create relative link with existing relative path with nodeId' , ( ) => {
13- expect ( createDeveloperUILinkWithNodeId ( 1 , '/node/3/' ) ) . toBe ( '/node/1/ ' ) ;
13+ expect ( createDeveloperUILinkWithNodeId ( 1 , '/node/3/' ) ) . toBe ( '/node/1' ) ;
1414 } ) ;
1515 it ( 'should create full link with host' , ( ) => {
1616 expect (
1717 createDeveloperUILinkWithNodeId (
1818 1 ,
1919 'http://ydb-vla-dev02-001.search.yandex.net:8765' ,
2020 ) ,
21- ) . toBe ( 'http://ydb-vla-dev02-001.search.yandex.net:8765/node/1/ ' ) ;
21+ ) . toBe ( 'http://ydb-vla-dev02-001.search.yandex.net:8765/node/1' ) ;
2222 } ) ;
2323 it ( 'should create full link with host with existing node path with nodeId' , ( ) => {
2424 expect (
2525 createDeveloperUILinkWithNodeId (
2626 1 ,
2727 'http://ydb-vla-dev02-001.search.yandex.net:8765/node/3' ,
2828 ) ,
29- ) . toBe ( 'http://ydb-vla-dev02-001.search.yandex.net:8765/node/1/ ' ) ;
29+ ) . toBe ( 'http://ydb-vla-dev02-001.search.yandex.net:8765/node/1' ) ;
3030 } ) ;
3131 } ) ;
3232 describe ( 'createPDiskDeveloperUILink' , ( ) => {
0 commit comments