Add skill for gameplay entry type workflows

This commit is contained in:
2026-05-04 02:32:38 +08:00
parent 49aad7311c
commit 34aecdddf1
77 changed files with 5997 additions and 110 deletions

View File

@@ -21,4 +21,22 @@ describe('vite dev api proxy', () => {
}),
);
});
it('forwards the admin route to the admin dev server', async () => {
const resolvedConfig =
typeof viteConfig === 'function'
? await viteConfig({ command: 'serve', mode: 'test' })
: viteConfig;
// 中文注释:本地完整栈需要能从主站 `/admin/` 进入后台,贴近生产同域部署形态。
expect(resolvedConfig.server?.proxy).toEqual(
expect.objectContaining({
'/admin/': expect.objectContaining({
target: expect.stringContaining(':3102'),
changeOrigin: true,
secure: false,
}),
}),
);
});
});