Skip to content

The agent that grows with you

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

hermes-seaeye[bot]f303c695d7af
diff --git a/apps/desktop/electron/connection-config.ts b/apps/desktop/electron/connection-config.ts
index 47a2315324a..89491fa8ab6 100644
--- a/apps/desktop/electron/connection-config.ts
+++ b/apps/desktop/electron/connection-config.ts
@@ -161,7 +161,9 @@ async function withTransientRetries(run, options: any = {}) {
const delaysMs = Array.isArray(options.delaysMs) && options.delaysMs.length > 0 ? options.delaysMs : [250, 750]
const sleep =
- typeof options.sleep === 'function' ? options.sleep : (ms: number) => new Promise(resolve => setTimeout(resolve, ms))
+ typeof options.sleep === 'function'
+ ? options.sleep
+ : (ms: number) => new Promise(resolve => setTimeout(resolve, ms))
const isRetryable =
typeof options.isRetryable === 'function' ? options.isRetryable : (error: unknown) => !isGatewayAuthRejection(error)
diff --git a/apps/desktop/src/app/gateway/hooks/use-gateway-boot.test.tsx b/apps/desktop/src/app/gateway/hooks/use-gateway-boot.test.tsx
index cf6e6d618df..4b1e214b308 100644
--- a/apps/desktop/src/app/gateway/hooks/use-gateway-boot.test.tsx
+++ b/apps/desktop/src/app/gateway/hooks/use-gateway-boot.test.tsx
@@ -453,8 +453,7 @@ describe('useGatewayBoot remote reconnect loop (real hook, fake socket)', () =>
// That used to promote into BootFailureOverlay and lock reading/drafting.
act(() => {
desktop.emitBootProgress({
- error:
- 'Could not reach the remote Hermes gateway while refreshing its WebSocket ticket. Try reconnecting.',
+ error: 'Could not reach the remote Hermes gateway while refreshing its WebSocket ticket. Try reconnecting.',
message: 'Desktop boot failed',
phase: 'backend.error',
progress: 94,
diff --git a/apps/desktop/src/themes/presets.test.ts b/apps/desktop/src/themes/presets.test.ts
index 3a430fc5376..9ca84f510c3 100644
--- a/apps/desktop/src/themes/presets.test.ts
+++ b/apps/desktop/src/themes/presets.test.ts
@@ -1,6 +1,13 @@
import { describe, expect, it } from 'vitest'
-import { BUILTIN_THEME_LIST, BUILTIN_THEMES, DEFAULT_SKIN_NAME, DEFAULT_TYPOGRAPHY, EMOJI_FALLBACK, nousAltTheme } from './presets'
+import {
+ BUILTIN_THEME_LIST,
+ BUILTIN_THEMES,
+ DEFAULT_SKIN_NAME,
+ DEFAULT_TYPOGRAPHY,
+ EMOJI_FALLBACK,
+ nousAltTheme
+} from './presets'
// #40364: none of the UI text/mono fonts carry emoji glyphs, so every font
// stack must end with a color-emoji fallback or emoji render as tofu on