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): normalize source fixture line endings

DavidShen95c2adbfd9f9
diff --git a/apps/mobile/src/__tests__/inactiveSessionListSubscriptions.test.ts b/apps/mobile/src/__tests__/inactiveSessionListSubscriptions.test.ts
index 4700e91032..5b1eb87051 100644
--- a/apps/mobile/src/__tests__/inactiveSessionListSubscriptions.test.ts
+++ b/apps/mobile/src/__tests__/inactiveSessionListSubscriptions.test.ts
@@ -3,7 +3,7 @@ import { resolve } from 'node:path';
import { describe, expect, it } from 'vitest';
function source(path: string): string {
- return readFileSync(resolve(process.cwd(), path), 'utf8');
+ return readFileSync(resolve(process.cwd(), path), 'utf8').replace(/\r\n/g, '\n');
}
describe('inactive session list subscriptions', () => {