Skip to content

Commit cbb8799

Browse files
committed
Add failing test for redirect when mounted at basePath.
1 parent 2df126a commit cbb8799

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/unit/middleware/files.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@ describe("i18n", () => {
157157

158158
const basePathConfigs = [
159159
["", "static server with trailing slash customization"],
160+
[
161+
"/base/path",
162+
"static server under base path, with trailing slash customization",
163+
],
160164
];
161165

162166
basePathConfigs.forEach(([basePath, testTitle]) => {

0 commit comments

Comments
 (0)