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): iosChromeActionMenu 读取开发者页改用 readTextLf,满足测试卫生基线

kirozengb6b99a3279b3
diff --git a/apps/mobile/src/__tests__/iosChromeActionMenu.test.ts b/apps/mobile/src/__tests__/iosChromeActionMenu.test.ts
index 322c146242..d5afc5c6c3 100644
--- a/apps/mobile/src/__tests__/iosChromeActionMenu.test.ts
+++ b/apps/mobile/src/__tests__/iosChromeActionMenu.test.ts
@@ -201,7 +201,7 @@ describe("iOS chrome presenters stay on the system menu path", () => {
"accessibilityLabel={t('settings.notifications.taskDone')}",
);
// Beta 渠道开关在二级页「开发者」。
- expect(readFileSync(resolve(process.cwd(), "app/settings/developer.tsx"), "utf8")).toContain(
+ expect(readTextLf(resolve(process.cwd(), "app/settings/developer.tsx"), "utf8")).toContain(
"accessibilityLabel={t('settings.betaChannel.title')}",
);
expect(settings).toContain(