    expect(myEl.textContent).toBe('Lorem ipsum dolor sit amet');
  });
  it('capitalizes all words', () => {
    render(<StringCapitalize str="lorem ipsum dolor sit amet" allWords />);
    const myEl = screen.getByTestId('str-cap');
    expect(myEl.textContent).toBe('Lorem Ipsum Dolor Sit Amet');