import React__default from 'react';
import { cleanup, render } from '@testing-library/react';
import '@testing-library/jest-dom/extend-expect';
import Card from '../index.js';
import Cards from '../cards.js';
import '../../extends-C4cduGrv.js';
import '../../objectWithoutProperties-TXwlfNxG.js';
import 'prop-types';
import 'classnames';

afterEach(cleanup);
describe("Cards", function () {
  it("renders if empty", function () {
    var _render = render( /*#__PURE__*/React__default.createElement(Cards, {
      "data-testid": "empty"
    })),
        getByTestId = _render.getByTestId;

    expect(getByTestId("empty")).toBeInTheDocument();
  });
  it("renders one card", function () {
    var _render2 = render( /*#__PURE__*/React__default.createElement(Cards, null, /*#__PURE__*/React__default.createElement(Card, null, "Card"))),
        getByText = _render2.getByText;

    expect(getByText("Card")).toBeInTheDocument();
  });
  it("renders multiple cards", function () {
    var _render3 = render( /*#__PURE__*/React__default.createElement(Cards, null, /*#__PURE__*/React__default.createElement(Card, null, "Foo"), /*#__PURE__*/React__default.createElement(Card, null, "Bar"), /*#__PURE__*/React__default.createElement(Card, null, "Baz"))),
        getByText = _render3.getByText;

    expect(getByText("Foo")).toBeInTheDocument();
    expect(getByText("Bar")).toBeInTheDocument();
    expect(getByText("Baz")).toBeInTheDocument();
  });
});
