Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

test(mobile): 移除输入框圆角的过期放行条目,环境打包测试补试用身份模块替身

kirozeng8e6cd399986c
diff --git a/apps/mobile/src/__tests__/designTokenDiscipline.test.ts b/apps/mobile/src/__tests__/designTokenDiscipline.test.ts
index 48db1481fd..b03cc29999 100644
--- a/apps/mobile/src/__tests__/designTokenDiscipline.test.ts
+++ b/apps/mobile/src/__tests__/designTokenDiscipline.test.ts
@@ -35,7 +35,6 @@ const COLOR_EXEMPT = [/Html\.ts$/i, /src\/session\/ImageLightbox\.tsx$/];
/** 组件几何 / 特殊语义的登记豁免:file 后缀匹配 + 行内容包含 snippet 即放行。 */
const ALLOWLIST: Array<{ file: string; snippet: string; reason: string }> = [
- { file: 'src/session/ComposerFrame.ios.tsx', snippet: 'borderRadius: 30', reason: 'Native glass shares the existing composer geometry' },
{ file: 'src/session/MobileComposerInputRow.tsx', snippet: 'borderRadius: 0', reason: 'Unframed child delegates its contour to native glass' },
{
file: 'src/session/MobileComposerInputRow.tsx',
diff --git a/apps/mobile/src/__tests__/envBundleTransform.test.ts b/apps/mobile/src/__tests__/envBundleTransform.test.ts
index f2ecf371ea..e43d048a36 100644
--- a/apps/mobile/src/__tests__/envBundleTransform.test.ts
+++ b/apps/mobile/src/__tests__/envBundleTransform.test.ts
@@ -39,6 +39,7 @@ describe('mobile endpoint overrides after Expo bundle transform', () => {
EXPO_PUBLIC_CINDY_AUTH_BASE_URL: 'https://fallback.example.invalid',
} } } };
if (id === '@cindy/maker-shared/client-endpoints') return {};
+ if (id === './navigationDemo') return { IS_NAVIGATION_DEMO: false, NAVIGATION_DEMO_SCHEME: 'cindynavdemo' };
if (id === './endpointManifestLoader') return {
resolveMobileEndpointManifest() {
throw new Error('Importing endpoint overrides must not fetch a manifest');