Skip to content

Commit a19a73a

Browse files
authored
test: move ignoreTrailingSlash under routerOptions (#553)
Signed-off-by: Luca Raveri <[email protected]>
1 parent 7cd57f4 commit a19a73a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/static.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1712,7 +1712,9 @@ test('register with wildcard false (trailing slash in the root)', async t => {
17121712
wildcard: false
17131713
}
17141714
const fastify = Fastify({
1715-
ignoreTrailingSlash: true
1715+
routerOptions: {
1716+
ignoreTrailingSlash: true
1717+
}
17161718
})
17171719
fastify.register(fastifyStatic, pluginOptions)
17181720

0 commit comments

Comments
 (0)