Skip to content

The open alternative to Salesforce, designed for AI.

330 B
Raw Blame
import { applySimpleQuotesToString } from '~/utils/string/applySimpleQuotesToString';

describe('applySimpleQuotesToString', () => {
  it('wraps the input string with single quotes', () => {
    const input = 'Hello, World!';

    const result = applySimpleQuotesToString(input);

    expect(result).toBe(`'${input}'`);
  });
});