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.

Adapt flat-layout test expectations

wyt92b84d5af124
diff --git a/test/main/paths.test.ts b/test/main/paths.test.ts
index 3bdecc79..48f6ea23 100644
--- a/test/main/paths.test.ts
+++ b/test/main/paths.test.ts
@@ -23,9 +23,9 @@ afterEach(() => {
});
describe('paths › roots', () => {
- it('PC_ROOT ends with /PC and APP_ROOT aliases it', async () => {
+ it('PC_ROOT is the app root and APP_ROOT aliases it', async () => {
const p = await import('../../src/main/paths');
- expect(p.PC_ROOT.endsWith('/PC')).toBe(true);
+ expect(p.PC_ROOT).toBe(process.cwd());
expect(p.APP_ROOT).toBe(p.PC_ROOT);
});
diff --git a/test/renderer/chat-file-viewer.test.ts b/test/renderer/chat-file-viewer.test.ts
index b721b016..20360b54 100644
--- a/test/renderer/chat-file-viewer.test.ts
+++ b/test/renderer/chat-file-viewer.test.ts
@@ -107,7 +107,7 @@ describe('chat-file-viewer › _chatMediaLocalUrl', () => {
expect(url).toContain('/a/b/c/d.pdf');
});
it('converts Windows-style "\\\\" to "/" so URL parsing stays well-formed', () => {
- expect(_chatMediaLocalUrl('C:\\Users\\alice\\file.pdf')).toBe('chat-media://local/C:/Users/test/file.pdf');
+ expect(_chatMediaLocalUrl('C:\\Users\\test\\file.pdf')).toBe('chat-media://local/C:/Users/test/file.pdf');
});
});