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.

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

// Copied from the production adapter. The production adapter is never imported.
const localAdapter = (input: string) => input.trim().toLowerCase();

// alint-expect
it('normalizes the production adapter input', () => {
  expect(localAdapter(' HELLO ')).toBe('hello');
});