Skip to content

The agent that grows with you

style(desktop-core): eslint padding in the core specs

teknium1c7cdc91fe8cb
diff --git a/apps/desktop/e2e/core/interactive-prompts.spec.ts b/apps/desktop/e2e/core/interactive-prompts.spec.ts
index db5b08cf439..18fb9b6e40e 100644
--- a/apps/desktop/e2e/core/interactive-prompts.spec.ts
+++ b/apps/desktop/e2e/core/interactive-prompts.spec.ts
@@ -37,6 +37,7 @@ const nonce = Math.random()
.slice(2, 8)
.replace(/[^a-z0-9]/g, 'x')
.padEnd(4, 'q')
+
const U = (n: number) => `U${n}-${nonce}`
const A = (n: number) => `A${n}-${nonce}`
const AI = (n: number) => `A${n}i-${nonce}`
diff --git a/apps/desktop/e2e/core/switch-back-race.spec.ts b/apps/desktop/e2e/core/switch-back-race.spec.ts
index 234b93ce605..6130edb737b 100644
--- a/apps/desktop/e2e/core/switch-back-race.spec.ts
+++ b/apps/desktop/e2e/core/switch-back-race.spec.ts
@@ -35,6 +35,7 @@ const nonce = Math.random()
.slice(2, 8)
.replace(/[^a-z0-9]/g, 'x')
.padEnd(4, 'q')
+
const U = (n: number) => `U${n}-${nonce}`
const A = (n: number) => `A${n}-${nonce}`
@@ -91,6 +92,7 @@ for (const order of ['complete-before-hydrate', 'hydrate-before-complete'] as co
if (!original) {
return false
}
+
ipcMain.removeHandler('hermes:api')
ipcMain.handle('hermes:api', async (event: any, request: any) => {
const p = String(request?.path ?? '')
diff --git a/apps/desktop/e2e/core/transcript-integrity.spec.ts b/apps/desktop/e2e/core/transcript-integrity.spec.ts
index 882508232e2..02325c24972 100644
--- a/apps/desktop/e2e/core/transcript-integrity.spec.ts
+++ b/apps/desktop/e2e/core/transcript-integrity.spec.ts
@@ -43,6 +43,7 @@ const nonce = Math.random()
.slice(2, 8)
.replace(/[^a-z0-9]/g, 'x')
.padEnd(4, 'q')
+
const U = (n: number) => `U${n}-${nonce}`
const A = (n: number) => `A${n}-${nonce}`
const AI = (n: number) => `A${n}i-${nonce}`