Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#129488)

hermes-seaeye[bot]cbc569e23cb0
diff --git a/apps/desktop/electron/quit-guard.test.ts b/apps/desktop/electron/quit-guard.test.ts
index a3506e3faaf..6af57754d3b 100644
--- a/apps/desktop/electron/quit-guard.test.ts
+++ b/apps/desktop/electron/quit-guard.test.ts
@@ -144,5 +144,6 @@ test('an idle cache does not resurrect finished work', () => {
{ count: 0, titles: [] },
{ count: 0, titles: [] }
])
+
assert.equal(merged.count, 0)
})
diff --git a/apps/desktop/electron/remote-oauth-ticket.test.ts b/apps/desktop/electron/remote-oauth-ticket.test.ts
index 4070cea1a5d..bfbed0b2ea9 100644
--- a/apps/desktop/electron/remote-oauth-ticket.test.ts
+++ b/apps/desktop/electron/remote-oauth-ticket.test.ts
@@ -92,12 +92,15 @@ describe('resolveRemoteOauthTicket', () => {
).catch((failure: Error) => failure)
const timeout = await mintThrowing(Object.assign(new Error('timeout of 8000ms exceeded'), { code: 'ETIMEDOUT' }))
+
const refused = await mintThrowing(
Object.assign(new Error('connect ECONNREFUSED 10.0.0.5:8446'), { code: 'ECONNREFUSED' })
)
+
const dns = await mintThrowing(
Object.assign(new Error('getaddrinfo ENOTFOUND gw.example.com'), { code: 'ENOTFOUND' })
)
+
const ambiguous = await mintThrowing(new Error('socket hang up'))
const http500 = await mintThrowing(Object.assign(new Error('500: upstream'), { statusCode: 500 }))