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.

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

import { extractMarkdownH1Title } from '../filename';

describe('extractMarkdownH1Title guards', () => {
  it('returns blank-only content unchanged', () => {
    expect(extractMarkdownH1Title('\n  \n\t')).toEqual({ content: '\n  \n\t' });
    expect(extractMarkdownH1Title('')).toEqual({ content: '' });
  });
});