Skip to content

🤯 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.

355 B
Raw Blame
import { expect, it } from 'vitest';

import { checkDocumentationCommand } from './modelFacingDocs';

it('detects a removed command in documentation using the custom validator', () => {
  expect(checkDocumentationCommand('lh config whoami')).toEqual(['unknown command lh config']);
  expect(checkDocumentationCommand('lh whoami --json')).toEqual([]);
});