Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit a70c185

Browse files
committed
Fix routing testing
1 parent 403c5b7 commit a70c185

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

framework/core/routing_test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ import { Routing } from './routing.ts'
33

44
Deno.test(`routing`, () => {
55
const routing = new Routing({
6-
locales: ['en', 'zh-CN'],
6+
i18n: {
7+
defaultLocale: 'en',
8+
locales: ['en', 'zh-CN'],
9+
},
710
rewrites: {
811
'/Hello World': '/hello-world',
912
'/你好世界': '/zh-CN/hello-world',

0 commit comments

Comments
 (0)