Skip to content

Commit 3c5b77b

Browse files
concise test description
1 parent 87d4ea7 commit 3c5b77b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/router-core/tests/path.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -524,34 +524,34 @@ describe('interpolatePath', () => {
524524
})
525525
})
526526

527-
describe('splat route missing parameter issue', () => {
527+
describe('should handle missing _splat parameter for', () => {
528528
it.each([
529529
{
530-
name: 'should handle missing _splat parameter for basic splat route',
530+
name: 'basic splat route',
531531
path: '/hello/$',
532532
params: {},
533533
expectedResult: '/hello',
534534
},
535535
{
536-
name: 'should handle missing _splat parameter for splat route with prefix',
536+
name: 'splat route with prefix',
537537
path: '/hello/prefix{$}',
538538
params: {},
539539
expectedResult: '/hello/prefix',
540540
},
541541
{
542-
name: 'should handle missing _splat parameter for splat route with suffix',
542+
name: 'splat route with suffix',
543543
path: '/hello/{$}suffix',
544544
params: {},
545545
expectedResult: '/hello/suffix',
546546
},
547547
{
548-
name: 'should handle missing _splat parameter for splat route with prefix and suffix',
548+
name: 'splat route with prefix and suffix',
549549
path: '/hello/prefix{$}suffix',
550550
params: {},
551551
expectedResult: '/hello/prefixsuffix',
552552
},
553553
{
554-
name: 'should handle missing _splat parameter for nested splat route',
554+
name: 'nested splat route',
555555
path: '/users/$id/$',
556556
params: { id: '123' },
557557
expectedResult: '/users/123',

0 commit comments

Comments
 (0)