Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

test(agents): handle CRLF model picker fixtures

BlueSkyID666a9c2b952e2db
diff --git a/test/renderer/agents-detail-layout.test.ts b/test/renderer/agents-detail-layout.test.ts
index 9775c6c5..c28eaf9c 100644
--- a/test/renderer/agents-detail-layout.test.ts
+++ b/test/renderer/agents-detail-layout.test.ts
@@ -241,7 +241,7 @@ describe('external CLI Agent detail layout', () => {
// cannot be checked against a release note or a support thread. The option
// loop is run here directly so the assertions are the visible strings.
describe('external CLI Agent model picker labels', () => {
- const source = fs.readFileSync(path.join(rendererRoot, 'modules/agents.js'), 'utf8');
+ const source = fs.readFileSync(path.join(rendererRoot, 'modules/agents.js'), 'utf8').replace(/\r\n/g, '\n');
function buildModelOptions(input: {
models: Array<Record<string, unknown>>;