chore: CI/CD + 前端测试 + 安全加固 + 限流完善
- 新增 .gitlab-ci.yml (lint/test/build 三阶段) - 新增前端测试: taskStageMapper (109), api.ts (36), AuthContext (16) - 修复旧测试: Sidebar 导航文案、MobileLayout padding 值 - python-jose → PyJWT 消除 ecdsa CVE 漏洞 - 限流中间件增加 5 个敏感端点精细限流 + 标准限流头 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
3a444864ac
commit
a2f6f82e15
@@ -59,7 +59,7 @@ describe('MobileLayout', () => {
|
||||
</MobileLayout>
|
||||
);
|
||||
const main = container.querySelector('main');
|
||||
expect(main).toHaveClass('pb-[95px]');
|
||||
expect(main).toHaveClass('pb-[80px]');
|
||||
});
|
||||
|
||||
it('showBottomNav=false 时内容区域无底部 padding', () => {
|
||||
|
||||
Reference in New Issue
Block a user