Skip to content

Commit

Permalink
chore: bump find-my-way to ^7.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rektide authored and mmarchini committed Nov 15, 2022
1 parent caba351 commit 7228b94
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -97,7 +97,7 @@
"csv": "^5.1.1",
"escape-regexp-component": "^1.0.2",
"ewma": "^2.0.1",
"find-my-way": "^2.0.1",
"find-my-way": "^7.2.0",
"formidable": "^1.2.1",
"http-signature": "^1.3.6",
"lodash": "^4.17.11",
Expand Down
16 changes: 10 additions & 6 deletions test/router.test.js
Expand Up @@ -342,7 +342,11 @@ test('toString()', function(t) {

t.deepEqual(
router.toString(),
'└── / (GET|POST)\n' + ' └── a (GET)\n' + ' └── /b (GET)\n'
// prettier-ignore
'└── / (GET)\n' +
' / (POST)\n' +
' └── a (GET)\n' +
' └── /b (GET)\n'
);
t.end();
});
Expand All @@ -363,11 +367,11 @@ test('toString() with ignoreTrailingSlash', function(t) {

t.deepEqual(
router.toString(),
'└── / (GET|POST)\n' +
' └── a (GET)\n' +
' └── / (GET)\n' +
' └── b (GET)\n' +
' └── / (GET)\n'
// prettier-ignore
'└── / (GET)\n' +
' / (POST)\n' +
' └── a (GET)\n' +
' └── /b (GET)\n'
);
t.end();
});
Expand Down
16 changes: 10 additions & 6 deletions test/routerRegistryRadix.test.js
Expand Up @@ -95,7 +95,11 @@ test('toString()', function(t) {

t.deepEqual(
registry.toString(),
'└── / (GET|POST)\n' + ' └── a (GET)\n' + ' └── /b (GET)\n'
// prettier-ignore
'└── / (GET)\n' +
' / (POST)\n' +
' └── a (GET)\n' +
' └── /b (GET)\n'
);
t.end();
});
Expand All @@ -109,11 +113,11 @@ test('toString() with ignoreTrailingSlash', function(t) {

t.deepEqual(
registry.toString(),
'└── / (GET|POST)\n' +
' └── a (GET)\n' +
' └── / (GET)\n' +
' └── b (GET)\n' +
' └── / (GET)\n'
// prettier-ignore
'└── / (GET)\n' +
' / (POST)\n' +
' └── a (GET)\n' +
' └── /b (GET)\n'
);
t.end();
});

0 comments on commit 7228b94

Please sign in to comment.