Skip to content

The agent that grows with you

test(desktop): typed-slash metric fires on the pinned owner after main merge

Teknium057478d8a1aa
diff --git a/apps/desktop/src/app/session/hooks/use-prompt-actions/submission-destination.test.tsx b/apps/desktop/src/app/session/hooks/use-prompt-actions/submission-destination.test.tsx
index 57d94edf5ca..2e4605900bf 100644
--- a/apps/desktop/src/app/session/hooks/use-prompt-actions/submission-destination.test.tsx
+++ b/apps/desktop/src/app/session/hooks/use-prompt-actions/submission-destination.test.tsx
@@ -492,7 +492,11 @@ describe('submission intent destinations', () => {
gate.resolve({ type: 'skill', name: 'private-skill', message: 'expanded private skill' })
await pending
})
- expect(requests).toEqual([['owner-a', 'alice', 'slash.exec']])
+ // Main's typed-slash metric (0631b2498cb) rides the same pinned destination.
+ expect(requests).toEqual([
+ ['owner-a', 'alice', 'shared_metrics.slash_command'],
+ ['owner-a', 'alice', 'slash.exec']
+ ])
expect(submitPromptText).toHaveBeenCalledWith(
'expanded private skill',
expect.objectContaining({