Skip to content

The agent that grows with you

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

hermes-seaeye[bot]a251e87d826f
diff --git a/apps/desktop/electron/hud-windowing.test.ts b/apps/desktop/electron/hud-windowing.test.ts
index 5d353be6c63..1e4d9b99f80 100644
--- a/apps/desktop/electron/hud-windowing.test.ts
+++ b/apps/desktop/electron/hud-windowing.test.ts
@@ -66,10 +66,7 @@ test('asking for a native Wayland surface keeps the click-through path', () => {
assert.equal(input('linux', WAYLAND_SESSION, argv), 'click-through')
}
- assert.equal(
- input('linux', { ...WAYLAND_SESSION, ELECTRON_OZONE_PLATFORM_HINT: 'wayland' }),
- 'click-through'
- )
+ assert.equal(input('linux', { ...WAYLAND_SESSION, ELECTRON_OZONE_PLATFORM_HINT: 'wayland' }), 'click-through')
})
test('an auto hint follows the session', () => {
@@ -85,10 +82,7 @@ test('asking for X11 on a Wayland session takes the solid / renderer-drag profil
assert.equal(windowing.input, 'solid')
assert.equal(windowing.move, 'renderer')
assert.equal(windowing.clientPlacement, true)
- assert.equal(
- input('linux', { ...WAYLAND_SESSION, ELECTRON_OZONE_PLATFORM_HINT: 'x11' }),
- 'solid'
- )
+ assert.equal(input('linux', { ...WAYLAND_SESSION, ELECTRON_OZONE_PLATFORM_HINT: 'x11' }), 'solid')
})
test('the explicit switch beats the hint, and the last switch wins', () => {
diff --git a/apps/desktop/electron/hud-windowing.ts b/apps/desktop/electron/hud-windowing.ts
index a834bcf2f83..8a95b0712e2 100644
--- a/apps/desktop/electron/hud-windowing.ts
+++ b/apps/desktop/electron/hud-windowing.ts
@@ -99,11 +99,7 @@ function desktopWindowing(backend: 'cocoa' | 'win32'): HudWindowing {
}
}
-export function resolveHudWindowing(
- platform: string,
- env: NodeJS.ProcessEnv,
- argv: readonly string[]
-): HudWindowing {
+export function resolveHudWindowing(platform: string, env: NodeJS.ProcessEnv, argv: readonly string[]): HudWindowing {
if (platform === 'darwin') {
return desktopWindowing('cocoa')
}