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.

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

import { matchStartsWith } from '../startsWith';

describe('matchStartsWith', () => {
  it('should pass when starts with expected', () => {
    expect(matchStartsWith('Hello world', 'hello').passed).toBe(true);
  });

  it('should fail when not starting with expected', () => {
    expect(matchStartsWith('Hello world', 'world').passed).toBe(false);
  });
});