diff --git a/package.json b/package.json index 9b286180..f898fedd 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "csv": "^6.2.2", "escape-regexp-component": "^1.0.2", "ewma": "^2.0.1", - "find-my-way": "^7.2.0", + "find-my-way": "^7.6.0", "formidable": "^1.2.1", "http-signature": "^1.3.6", "lodash": "^4.17.11", diff --git a/test/router.test.js b/test/router.test.js index 769873c6..d6277cd6 100644 --- a/test/router.test.js +++ b/test/router.test.js @@ -343,8 +343,7 @@ test('toString()', function(t) { t.deepEqual( router.toString(), // prettier-ignore - '└── / (GET)\n' + - ' / (POST)\n' + + '└── / (GET, POST)\n' + ' └── a (GET)\n' + ' └── /b (GET)\n' ); @@ -368,8 +367,7 @@ test('toString() with ignoreTrailingSlash', function(t) { t.deepEqual( router.toString(), // prettier-ignore - '└── / (GET)\n' + - ' / (POST)\n' + + '└── / (GET, POST)\n' + ' └── a (GET)\n' + ' └── /b (GET)\n' ); diff --git a/test/routerRegistryRadix.test.js b/test/routerRegistryRadix.test.js index 16b264d7..5027b05e 100644 --- a/test/routerRegistryRadix.test.js +++ b/test/routerRegistryRadix.test.js @@ -96,8 +96,7 @@ test('toString()', function(t) { t.deepEqual( registry.toString(), // prettier-ignore - '└── / (GET)\n' + - ' / (POST)\n' + + '└── / (GET, POST)\n' + ' └── a (GET)\n' + ' └── /b (GET)\n' ); @@ -114,8 +113,7 @@ test('toString() with ignoreTrailingSlash', function(t) { t.deepEqual( registry.toString(), // prettier-ignore - '└── / (GET)\n' + - ' / (POST)\n' + + '└── / (GET, POST)\n' + ' └── a (GET)\n' + ' └── /b (GET)\n' );