🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import { describe, expect, it } from 'vitest';
import { getThreadExecutionStepCount } from './ThreadExecutionSummary';
describe('getThreadExecutionStepCount', () => {
it('shows one execution step before tool-call totals settle', () => {
expect(getThreadExecutionStepCount()).toBe(1);
});
it('counts each tool call plus the final response step', () => {
expect(getThreadExecutionStepCount(2)).toBe(3);
});
});