@@ -5,7 +5,7 @@ import { RouteHandlerRegistry } from '../../../src/rest/RouteHandlerRegistry.js'
5
5
import type { Path } from '../../../src/types/rest.js' ;
6
6
7
7
describe ( 'Class: RouteHandlerRegistry' , ( ) => {
8
- it ( 'should warn when registering a duplicate route' , ( ) => {
8
+ it ( 'warns when registering a duplicate route' , ( ) => {
9
9
// Prepare
10
10
const mockLogger = {
11
11
debug : vi . fn ( ) ,
@@ -47,7 +47,7 @@ describe('Class: RouteHandlerRegistry', () => {
47
47
description : 'consecutive parameters without separator' ,
48
48
} ,
49
49
] ) (
50
- 'should not register routes with invalid path pattern: $description' ,
50
+ 'shouldn\'t register routes with invalid path pattern: $description' ,
51
51
( { path } ) => {
52
52
// Prepare
53
53
const mockLogger = {
@@ -74,7 +74,7 @@ describe('Class: RouteHandlerRegistry', () => {
74
74
}
75
75
) ;
76
76
77
- it ( 'should not register routes with duplicate parameter names' , ( ) => {
77
+ it ( 'doesn\'t register routes with duplicate parameter names' , ( ) => {
78
78
// Prepare
79
79
const mockLogger = {
80
80
debug : vi . fn ( ) ,
@@ -211,7 +211,7 @@ describe('Class: RouteHandlerRegistry', () => {
211
211
registry . register ( route2 ) ;
212
212
registry . register ( route3 ) ;
213
213
214
- // Assert
214
+ // Assess
215
215
const allRoutes = registry . getAllRoutes ( ) ;
216
216
expect ( allRoutes ) . toHaveLength ( 3 ) ;
217
217
expect ( allRoutes ) . toContain ( route1 ) ;
0 commit comments