Skip to content

The agent that grows with you

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

hermes-seaeye[bot]7d6da01e9801
diff --git a/apps/desktop/electron/crash-forensics.test.ts b/apps/desktop/electron/crash-forensics.test.ts
index e28ea16eb4f..74b59e47d20 100644
--- a/apps/desktop/electron/crash-forensics.test.ts
+++ b/apps/desktop/electron/crash-forensics.test.ts
@@ -1,6 +1,11 @@
import { describe, expect, it, vi } from 'vitest'
-import { describeCrashReason, installCrashForensics, isExpectedTransition, markExpectedTransition } from './crash-forensics'
+import {
+ describeCrashReason,
+ installCrashForensics,
+ isExpectedTransition,
+ markExpectedTransition
+} from './crash-forensics'
const harness = () => {
const listeners = new Map<string, (value: unknown) => void>()
@@ -68,7 +73,8 @@ describe('installCrashForensics', () => {
// The exact shape an intentional quit leaves behind: the AbortController
// reason from local-backend-lifecycle rejecting an in-flight start.
const sentinel = markExpectedTransition(new Error('Hermes Desktop is quitting.'))
- sentinel.stack = 'Error: Hermes Desktop is quitting.\n at Object.run [as shutdown] (file:///app.asar/dist/electron-main.mjs:1374:40)'
+ sentinel.stack =
+ 'Error: Hermes Desktop is quitting.\n at Object.run [as shutdown] (file:///app.asar/dist/electron-main.mjs:1374:40)'
listeners.get('unhandledRejection')?.(sentinel)
diff --git a/apps/desktop/electron/local-read-path.test.ts b/apps/desktop/electron/local-read-path.test.ts
index e79a1151a68..9bde931923c 100644
--- a/apps/desktop/electron/local-read-path.test.ts
+++ b/apps/desktop/electron/local-read-path.test.ts
@@ -10,11 +10,7 @@ const { bridge } = vi.hoisted(() => ({ bridge: vi.fn() }))
vi.mock('./wsl-path-bridge', () => ({ resolveLocalReadPath: bridge }))
-import {
- resolveIpcFileReadPath,
- resolveMediaStreamFile,
- resolvePreviewTargetPath
-} from './local-read-path'
+import { resolveIpcFileReadPath, resolveMediaStreamFile, resolvePreviewTargetPath } from './local-read-path'
const BRIDGED = '\\\\wsl.localhost\\Ubuntu\\home\\alex\\file'
diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.ts
index da2e5b99761..fbc7e70dc09 100644
--- a/apps/desktop/electron/main.ts
+++ b/apps/desktop/electron/main.ts
@@ -3587,9 +3587,8 @@ function resolveCheckoutUpdateStrategy(): UpdaterStrategy {
// launcher owns interpreter and generation selection there — same
// contract as readSourceUpdate and the hand-off script.
const managed: boolean = directoryExists(path.join(root, 'pm'))
- const launcher: string | null = managed
- ? resolveInstallationLauncher(root, IS_WINDOWS, HERMES_HOME)
- : null
+
+ const launcher: string | null = managed ? resolveInstallationLauncher(root, IS_WINDOWS, HERMES_HOME) : null
if (managed && !launcher) {
const message =
diff --git a/apps/desktop/electron/update-handoff-marker.test.ts b/apps/desktop/electron/update-handoff-marker.test.ts
index 29fad463480..9756de43d21 100644
--- a/apps/desktop/electron/update-handoff-marker.test.ts
+++ b/apps/desktop/electron/update-handoff-marker.test.ts
@@ -50,6 +50,7 @@ function runPosix(installRoot: string, startedAt?: string) {
function assertScriptHandoff(run: (installRoot: string, startedAt?: string) => ReturnType<typeof spawnSync>) {
const preserved = sandbox('preserved')
+
try {
const acquiredAt = Math.floor(Date.now() / 1000) - 300
const preservedResult = run(preserved.installRoot, String(acquiredAt))
@@ -59,9 +60,11 @@ function assertScriptHandoff(run: (installRoot: string, startedAt?: string) => R
} finally {
cleanupSandbox(preserved.home)
}
+
assert.equal(fs.existsSync(preserved.home), false, 'the self-test sandbox must not leak into the OS temp directory')
const refreshed = sandbox('refreshed')
+
try {
fs.writeFileSync(path.join(refreshed.home, '.hermes-update-in-progress'), '999999\n1\n')
const before = Math.floor(Date.now() / 1000)
@@ -76,9 +79,11 @@ function assertScriptHandoff(run: (installRoot: string, startedAt?: string) => R
} finally {
cleanupSandbox(refreshed.home)
}
+
assert.equal(fs.existsSync(refreshed.home), false, 'the self-test sandbox must not leak into the OS temp directory')
const oversized = sandbox('oversized')
+
try {
const oversizedBefore = Math.floor(Date.now() / 1000)
const oversizedResult = run(oversized.installRoot, '99999999999999999999')
@@ -92,6 +97,7 @@ function assertScriptHandoff(run: (installRoot: string, startedAt?: string) => R
} finally {
cleanupSandbox(oversized.home)
}
+
assert.equal(fs.existsSync(oversized.home), false, 'the self-test sandbox must not leak into the OS temp directory')
}
diff --git a/apps/desktop/electron/updater/state-db-preflight.ts b/apps/desktop/electron/updater/state-db-preflight.ts
index 610e345fcca..2eb96d4e833 100644
--- a/apps/desktop/electron/updater/state-db-preflight.ts
+++ b/apps/desktop/electron/updater/state-db-preflight.ts
@@ -25,9 +25,7 @@ export function preflightStateDb({ python, script, home, log, launcher = null }:
throw new Error('Python not found')
}
- const args: string[] = launcher
- ? ['--run-module', 'hermes_cli.backup_sqlite', home]
- : ['-I', '-S', script, home]
+ const args: string[] = launcher ? ['--run-module', 'hermes_cli.backup_sqlite', home] : ['-I', '-S', script, home]
// Node refuses direct .cmd execFile; an older published launcher can still
// be one. Same fail-closed guard as the update check: shell:true would
diff --git a/apps/desktop/electron/wslg-launch.test.ts b/apps/desktop/electron/wslg-launch.test.ts
index 1f756a793c4..24cdb8e0440 100644
--- a/apps/desktop/electron/wslg-launch.test.ts
+++ b/apps/desktop/electron/wslg-launch.test.ts
@@ -71,13 +71,8 @@ describe('native Wayland launch arguments', () => {
})
it('lets desktop.electron_flags choose the ozone platform instead of forcing wayland', () => {
- expect(wslgLaunchArgs([], nativeWayland, 'linux', ['--ozone-platform=x11'])).toEqual([
- '--ozone-platform=x11'
- ])
- expect(wslgLaunchArgs(['.'], nativeWayland, 'linux', ['--disable-gpu'])).toEqual([
- '.',
- '--ozone-platform=wayland'
- ])
+ expect(wslgLaunchArgs([], nativeWayland, 'linux', ['--ozone-platform=x11'])).toEqual(['--ozone-platform=x11'])
+ expect(wslgLaunchArgs(['.'], nativeWayland, 'linux', ['--disable-gpu'])).toEqual(['.', '--ozone-platform=wayland'])
expect(wslgLaunchArgs([], { XDG_SESSION_TYPE: 'x11', DISPLAY: ':0' }, 'linux')).toBeNull()
expect(wslgLaunchArgs([], { ...nativeWayland, SSH_CONNECTION: 'remote' }, 'linux')).toBeNull()
})
diff --git a/apps/desktop/src/components/assistant-ui/markdown-text.linklabels.test.tsx b/apps/desktop/src/components/assistant-ui/markdown-text.linklabels.test.tsx
index b9019f9a437..20550501515 100644
--- a/apps/desktop/src/components/assistant-ui/markdown-text.linklabels.test.tsx
+++ b/apps/desktop/src/components/assistant-ui/markdown-text.linklabels.test.tsx
@@ -15,9 +15,7 @@ describe('MarkdownLink authored labels', () => {
afterEach(cleanup)
it('preserves an inline-code link label with its exact casing', async () => {
- render(
- <MarkdownTextContent isRunning={false} text="Tagged [`v1.0.1`](https://example.com/releases/tag/v1.0.1)." />
- )
+ render(<MarkdownTextContent isRunning={false} text="Tagged [`v1.0.1`](https://example.com/releases/tag/v1.0.1)." />)
await screen.findByText('v1.0.1')
const anchor = screen.getByRole('link') as HTMLAnchorElement
diff --git a/apps/desktop/src/components/assistant-ui/thread/assistant-message.tsx b/apps/desktop/src/components/assistant-ui/thread/assistant-message.tsx
index 6ce32363f8c..1ff8ad15baa 100644
--- a/apps/desktop/src/components/assistant-ui/thread/assistant-message.tsx
+++ b/apps/desktop/src/components/assistant-ui/thread/assistant-message.tsx
@@ -1022,12 +1022,7 @@ const AssistantActionBar: FC<MessageActionProps & { durationS?: number }> = ({
)}
<CopyButton appearance="icon" buttonSize="icon" label={copy.copy} text={getMessageText} />
{fullResponseAvailable && (
- <CopyButton
- appearance="icon"
- buttonSize="icon"
- label={copy.copyFullResponse}
- text={getFullResponseText}
- />
+ <CopyButton appearance="icon" buttonSize="icon" label={copy.copyFullResponse} text={getFullResponseText} />
)}
<ReadAloudButton
fullResponseAvailable={fullResponseAvailable}
diff --git a/apps/desktop/src/components/pane-shell/tree/docked-width-churn.probe.test.ts b/apps/desktop/src/components/pane-shell/tree/docked-width-churn.probe.test.ts
index ad8839ad627..97f0dd1c5fb 100644
--- a/apps/desktop/src/components/pane-shell/tree/docked-width-churn.probe.test.ts
+++ b/apps/desktop/src/components/pane-shell/tree/docked-width-churn.probe.test.ts
@@ -21,13 +21,9 @@ async function boot() {
const tree = await import('@/components/pane-shell/tree/store')
const { registry } = await import('@/contrib/registry')
- const { registerLayoutPresets, DEFAULT_TREE, BASIC_TREE } = await import(
- '@/app/contrib/layout-presets'
- )
+ const { registerLayoutPresets, DEFAULT_TREE, BASIC_TREE } = await import('@/app/contrib/layout-presets')
- const { fixedTrackSize } = await import(
- '@/components/pane-shell/tree/renderer/track-model'
- )
+ const { fixedTrackSize } = await import('@/components/pane-shell/tree/renderer/track-model')
for (const [id, placement] of [
['sessions', 'left'],
@@ -49,13 +45,24 @@ async function boot() {
id: 'bots',
area: 'panes',
render: () => null,
- data: { placement: 'left', width: '260px', dock: { pane: 'sessions', pos: 'center', enforce: true }, collapsible: true, hideOnly: true }
+ data: {
+ placement: 'left',
+ width: '260px',
+ dock: { pane: 'sessions', pos: 'center', enforce: true },
+ collapsible: true,
+ hideOnly: true
+ }
})
registry.register({
id: 'routines',
area: 'panes',
render: () => null,
- data: { placement: 'main', width: '250px', defaultCollapsed: true, dock: { pane: 'workspace', pos: 'right', enforce: true } }
+ data: {
+ placement: 'main',
+ width: '250px',
+ defaultCollapsed: true,
+ dock: { pane: 'workspace', pos: 'right', enforce: true }
+ }
})
registerLayoutPresets()
tree.declareDefaultTree(DEFAULT_TREE, BASIC_TREE)
@@ -79,7 +86,9 @@ it('keeps the user-dragged bots zone width across full chat-switch churn', { tim
const find = (node: unknown): unknown => {
const n = node as { type?: string; panes?: string[]; children?: unknown[] }
- if (n?.type === 'group' && n.panes?.includes(id)) {return n}
+ if (n?.type === 'group' && n.panes?.includes(id)) {
+ return n
+ }
return n?.children?.map(find).find(Boolean) ?? null
}
@@ -101,7 +110,12 @@ it('keeps the user-dragged bots zone width across full chat-switch churn', { tim
id: 'routines',
area: 'panes',
render: () => null,
- data: { placement: 'main', width: '250px', defaultCollapsed: true, dock: { pane: 'workspace', pos: 'right', enforce: true } }
+ data: {
+ placement: 'main',
+ width: '250px',
+ defaultCollapsed: true,
+ dock: { pane: 'workspace', pos: 'right', enforce: true }
+ }
})
routinesDispose()
@@ -117,14 +131,25 @@ it('keeps the user-dragged bots zone width across full chat-switch churn', { tim
})
tileDispose()
- registry.register({ id: 'workspace', area: 'panes', render: () => null, data: { placement: 'main', uncloseable: true } })
+ registry.register({
+ id: 'workspace',
+ area: 'panes',
+ render: () => null,
+ data: { placement: 'main', uncloseable: true }
+ })
// ── Churn #3: the bots pane itself re-registers (enforced dock re-adoption)
const botsDispose = registry.register({
id: 'bots',
area: 'panes',
render: () => null,
- data: { placement: 'left', width: '260px', dock: { pane: 'sessions', pos: 'center', enforce: true }, collapsible: true, hideOnly: true }
+ data: {
+ placement: 'left',
+ width: '260px',
+ dock: { pane: 'sessions', pos: 'center', enforce: true },
+ collapsible: true,
+ hideOnly: true
+ }
})
botsDispose()
@@ -132,7 +157,13 @@ it('keeps the user-dragged bots zone width across full chat-switch churn', { tim
id: 'bots',
area: 'panes',
render: () => null,
- data: { placement: 'left', width: '260px', dock: { pane: 'sessions', pos: 'center', enforce: true }, collapsible: true, hideOnly: true }
+ data: {
+ placement: 'left',
+ width: '260px',
+ dock: { pane: 'sessions', pos: 'center', enforce: true },
+ collapsible: true,
+ hideOnly: true
+ }
})
// After ALL churn: the override survived in the store, and the docked zone
diff --git a/apps/desktop/src/components/pane-shell/tree/presets.test.ts b/apps/desktop/src/components/pane-shell/tree/presets.test.ts
index 14c1f51ed3b..2dc3b549229 100644
--- a/apps/desktop/src/components/pane-shell/tree/presets.test.ts
+++ b/apps/desktop/src/components/pane-shell/tree/presets.test.ts
@@ -34,7 +34,10 @@ function dirtyDeck() {
}
const storedPresets = () =>
- JSON.parse(window.localStorage.getItem(USER_KEY) ?? 'null') as Record<string, { resting?: string[]; tree: LayoutNode }>
+ JSON.parse(window.localStorage.getItem(USER_KEY) ?? 'null') as Record<
+ string,
+ { resting?: string[]; tree: LayoutNode }
+ >
beforeEach(() => {
window.localStorage.clear()
diff --git a/apps/desktop/src/components/pane-shell/tree/renderer/narrow-overlays.test.tsx b/apps/desktop/src/components/pane-shell/tree/renderer/narrow-overlays.test.tsx
index 5efc764c35d..0fb7cdc1d28 100644
--- a/apps/desktop/src/components/pane-shell/tree/renderer/narrow-overlays.test.tsx
+++ b/apps/desktop/src/components/pane-shell/tree/renderer/narrow-overlays.test.tsx
@@ -167,6 +167,8 @@ describe('narrow overlay of a stacked zone', () => {
// And the seamless fallback: without a tree the declared width still
// sizes the overlay.
- expect(narrowOverlayWidth({ paneFor: () => undefined, paneGone: () => false, overrides: {} }, null, bots)).toBe('260px')
+ expect(narrowOverlayWidth({ paneFor: () => undefined, paneGone: () => false, overrides: {} }, null, bots)).toBe(
+ '260px'
+ )
})
})
diff --git a/apps/desktop/src/components/pane-shell/tree/renderer/narrow-overlays.tsx b/apps/desktop/src/components/pane-shell/tree/renderer/narrow-overlays.tsx
index 91ab3d5b905..666863749fc 100644
--- a/apps/desktop/src/components/pane-shell/tree/renderer/narrow-overlays.tsx
+++ b/apps/desktop/src/components/pane-shell/tree/renderer/narrow-overlays.tsx
@@ -34,11 +34,7 @@ import { fixedTrackSize, paneChrome, type TrackContext } from './track-model'
* `data.width` (then 18rem) when no zone claims the pane. Pure, so the
* regression test asserts the resolution itself (jsdom's CSSOM drops the
* `min()` wrapper from style.width, hiding the rendered result). */
-export function narrowOverlayWidth(
- ctx: TrackContext,
- tree: LayoutNode | null,
- revealed: Contribution
-): string {
+export function narrowOverlayWidth(ctx: TrackContext, tree: LayoutNode | null, revealed: Contribution): string {
if (!tree) {
return paneChrome(revealed).width ?? '18rem'
}
@@ -166,7 +162,11 @@ export function NarrowOverlays() {
// user narrowed stays narrowed here too — reading only data.width would
// reset the overlay to the declared size on every reveal.
const overlayWidth = revealed
- ? narrowOverlayWidth({ paneFor: id => panes.find(p => p.id === id), paneGone: () => false, overrides: paneStates }, tree, revealed)
+ ? narrowOverlayWidth(
+ { paneFor: id => panes.find(p => p.id === id), paneGone: () => false, overrides: paneStates },
+ tree,
+ revealed
+ )
: null
// The revealed pane's ZONE-mates that also left the grid (the sessions zone
diff --git a/apps/desktop/src/lib/external-link.tsx b/apps/desktop/src/lib/external-link.tsx
index 13508586cd7..42f77a470e4 100644
--- a/apps/desktop/src/lib/external-link.tsx
+++ b/apps/desktop/src/lib/external-link.tsx
@@ -113,9 +113,7 @@ export function urlSlugTitleLabel(value: string): string {
const looksLikeIdentifier = /\d/.test(cleaned) || /[A-Z]/.test(cleaned) || cleaned.includes('.')
const label =
- looksLikeIdentifier && !cleaned.includes(' ')
- ? cleaned
- : cleaned.replace(/\b[a-z]/g, c => c.toUpperCase())
+ looksLikeIdentifier && !cleaned.includes(' ') ? cleaned : cleaned.replace(/\b[a-z]/g, c => c.toUpperCase())
if (label.length >= 4) {
return label
diff --git a/apps/desktop/src/lib/markdown-preprocess.autolink.test.ts b/apps/desktop/src/lib/markdown-preprocess.autolink.test.ts
index 2baa12c5a2b..87de0283d72 100644
--- a/apps/desktop/src/lib/markdown-preprocess.autolink.test.ts
+++ b/apps/desktop/src/lib/markdown-preprocess.autolink.test.ts
@@ -118,7 +118,10 @@ describe('preprocessMarkdown / bare loopback URLs in prose', () => {
['Wildcard bind: http://0.0.0.0:8000', 'http://0.0.0.0:8000'],
['IPv6 loopback: http://[::1]:8080/status', 'http://[::1]:8080/status'],
['Trailing slash: http://localhost:3000/ - panel', 'http://localhost:3000/'],
- ['Server at http://localhost:3000 and docs at https://example.com', ['http://localhost:3000', 'https://example.com']]
+ [
+ 'Server at http://localhost:3000 and docs at https://example.com',
+ ['http://localhost:3000', 'https://example.com']
+ ]
])('preserves bare loopback URLs in prose: %s', (input, expected) => {
expect(hrefs(input)).toEqual([expected].flat())
})
diff --git a/apps/desktop/src/lib/markdown-preprocess.ts b/apps/desktop/src/lib/markdown-preprocess.ts
index 18c79987b18..87efb8ebb97 100644
--- a/apps/desktop/src/lib/markdown-preprocess.ts
+++ b/apps/desktop/src/lib/markdown-preprocess.ts
@@ -446,10 +446,7 @@ function rewriteProseSegment(segment: string): string {
autoLinkRawUrls(
routeFileLinksToPreview(
escapeUnknownHtmlLikeTags(
- segment
- .replace(/`{3,}/g, '')
- .replace(CITATION_TRANSPORT_MARKER_RE, '')
- .replace(CITATION_MARKER_RE, '')
+ segment.replace(/`{3,}/g, '').replace(CITATION_TRANSPORT_MARKER_RE, '').replace(CITATION_MARKER_RE, '')
)
)
)
diff --git a/apps/desktop/src/plugins/hermes-bots/reclaim-refresh-in-place.test.ts b/apps/desktop/src/plugins/hermes-bots/reclaim-refresh-in-place.test.ts
index d056a300a8c..5a2351a37e6 100644
--- a/apps/desktop/src/plugins/hermes-bots/reclaim-refresh-in-place.test.ts
+++ b/apps/desktop/src/plugins/hermes-bots/reclaim-refresh-in-place.test.ts
@@ -159,7 +159,7 @@ beforeEach(() => {
register()
})
-describe("session.reclaimed re-resumes the open Bot Chat WITHOUT navigating (issue 121874)", () => {
+describe('session.reclaimed re-resumes the open Bot Chat WITHOUT navigating (issue 121874)', () => {
it('re-resumes the claimed chat as a background refresh', async () => {
$openBotChat.set({ key: 'local::alpha', openedRegistryId: 'bot-chat', openedSessionId: 'bot-chat-tip' })
diff --git a/apps/desktop/src/plugins/hermes-bots/roster-actions.ts b/apps/desktop/src/plugins/hermes-bots/roster-actions.ts
index acbe7fbdace..a5b587128cd 100644
--- a/apps/desktop/src/plugins/hermes-bots/roster-actions.ts
+++ b/apps/desktop/src/plugins/hermes-bots/roster-actions.ts
@@ -154,7 +154,10 @@ function refreshOpenBotChat(bot: RosterRow, { allowWhileBusy = false }: { allowW
}
const generation = getBotOpenGeneration()
- void openBotCanonicalChat(bot, { background: true, openingStillCurrent: () => generation === getBotOpenGeneration() }).catch(() => {
+ void openBotCanonicalChat(bot, {
+ background: true,
+ openingStillCurrent: () => generation === getBotOpenGeneration()
+ }).catch(() => {
/* the next click or reclaim event re-resolves it */
})
}
diff --git a/apps/desktop/src/plugins/hermes-bots/screen-pane-clipboard.test.tsx b/apps/desktop/src/plugins/hermes-bots/screen-pane-clipboard.test.tsx
index ad8eec3dcee..cddd36a4cbd 100644
--- a/apps/desktop/src/plugins/hermes-bots/screen-pane-clipboard.test.tsx
+++ b/apps/desktop/src/plugins/hermes-bots/screen-pane-clipboard.test.tsx
@@ -145,7 +145,7 @@ it('drops a paste while this viewer only watches (no lease)', async () => {
view.unmount()
})
-it('drops a paste over the bridge\'s 256 KiB cut-text cap instead of forwarding it', async () => {
+it("drops a paste over the bridge's 256 KiB cut-text cap instead of forwarding it", async () => {
const view = render(<BotScreenPane bot={bot} />)
await waitFor(() => expect(rfbs).toHaveLength(1))
await waitFor(() => expect(rfbs[0].viewOnly).toBe(false))
diff --git a/apps/desktop/src/plugins/hermes-bots/screen-pane.tsx b/apps/desktop/src/plugins/hermes-bots/screen-pane.tsx
index 744c6483f5e..d8451f3022e 100644
--- a/apps/desktop/src/plugins/hermes-bots/screen-pane.tsx
+++ b/apps/desktop/src/plugins/hermes-bots/screen-pane.tsx
@@ -397,9 +397,7 @@ export function BotScreenPane({ bot }: { bot: RosterRow }) {
if (state?.unavailable) {
// A managed (Hermes Cloud) backend cannot be self-updated: its release is the platform's
// choice, so say Screen has not reached it yet instead of an update instruction (#120852).
- const description = isManagedBackend(bot)
- ? t.screen.portalUnavailableManaged
- : t.screen.portalUnavailable
+ const description = isManagedBackend(bot) ? t.screen.portalUnavailableManaged : t.screen.portalUnavailable
return <EmptyState description={description} title={t.screen.unavailableTitle} />
}
diff --git a/apps/desktop/src/sdk/open-session-refresh-in-place.test.ts b/apps/desktop/src/sdk/open-session-refresh-in-place.test.ts
index 176a29004db..63493eb958a 100644
--- a/apps/desktop/src/sdk/open-session-refresh-in-place.test.ts
+++ b/apps/desktop/src/sdk/open-session-refresh-in-place.test.ts
@@ -215,9 +215,6 @@ describe('host.openSession refreshInPlace — background re-resume never navigat
it('stamps the owner hint so the resume routes to the owning backend', async () => {
await host.openSession('bot-chat-ops', { profile: 'ops', refreshInPlace: true })
- expect(setSessionOwnerHint).toHaveBeenCalledWith(
- 'bot-chat-ops',
- expect.objectContaining({ profile: 'ops' })
- )
+ expect(setSessionOwnerHint).toHaveBeenCalledWith('bot-chat-ops', expect.objectContaining({ profile: 'ops' }))
})
})