"use strict";

var _reactNative = require("@testing-library/react-native");
var _ComposedBodyFromArray = require("../ComposedBodyFromArray");
var _jsxRuntime = require("react/jsx-runtime");
describe("ComposedBodyFromArray", () => {
  it("should match snapshot, empty body, default text align", () => {
    const component = (0, _reactNative.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_ComposedBodyFromArray.ComposedBodyFromArray, {
      body: []
    }));
    expect(component.toJSON()).toMatchSnapshot();
  });
  it("should match snapshot, empty body, auto text align", () => {
    const component = (0, _reactNative.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_ComposedBodyFromArray.ComposedBodyFromArray, {
      body: [],
      textAlign: "auto"
    }));
    expect(component.toJSON()).toMatchSnapshot();
  });
  it("should match snapshot, empty body, center text align", () => {
    const component = (0, _reactNative.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_ComposedBodyFromArray.ComposedBodyFromArray, {
      body: [],
      textAlign: "center"
    }));
    expect(component.toJSON()).toMatchSnapshot();
  });
  it("should match snapshot, empty body, justify text align", () => {
    const component = (0, _reactNative.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_ComposedBodyFromArray.ComposedBodyFromArray, {
      body: [],
      textAlign: "justify"
    }));
    expect(component.toJSON()).toMatchSnapshot();
  });
  it("should match snapshot, empty body, left text align", () => {
    const component = (0, _reactNative.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_ComposedBodyFromArray.ComposedBodyFromArray, {
      body: [],
      textAlign: "left"
    }));
    expect(component.toJSON()).toMatchSnapshot();
  });
  it("should match snapshot, empty body, right text align", () => {
    const component = (0, _reactNative.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_ComposedBodyFromArray.ComposedBodyFromArray, {
      body: [],
      textAlign: "right"
    }));
    expect(component.toJSON()).toMatchSnapshot();
  });
  it("should match snapshot, multiple items body, default text align", () => {
    const component = (0, _reactNative.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_ComposedBodyFromArray.ComposedBodyFromArray, {
      body: multipleItemsBody
    }));
    expect(component.toJSON()).toMatchSnapshot();
  });
  it("should match snapshot, multiple items body, auto text align", () => {
    const component = (0, _reactNative.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_ComposedBodyFromArray.ComposedBodyFromArray, {
      body: multipleItemsBody,
      textAlign: "auto"
    }));
    expect(component.toJSON()).toMatchSnapshot();
  });
  it("should match snapshot, multiple items body, center text align", () => {
    const component = (0, _reactNative.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_ComposedBodyFromArray.ComposedBodyFromArray, {
      body: multipleItemsBody,
      textAlign: "center"
    }));
    expect(component.toJSON()).toMatchSnapshot();
  });
  it("should match snapshot, multiple items body, justify text align", () => {
    const component = (0, _reactNative.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_ComposedBodyFromArray.ComposedBodyFromArray, {
      body: multipleItemsBody,
      textAlign: "justify"
    }));
    expect(component.toJSON()).toMatchSnapshot();
  });
  it("should match snapshot, multiple items body, left text align", () => {
    const component = (0, _reactNative.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_ComposedBodyFromArray.ComposedBodyFromArray, {
      body: multipleItemsBody,
      textAlign: "left"
    }));
    expect(component.toJSON()).toMatchSnapshot();
  });
  it("should match snapshot, multiple items body, right text align", () => {
    const component = (0, _reactNative.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_ComposedBodyFromArray.ComposedBodyFromArray, {
      body: multipleItemsBody,
      textAlign: "right"
    }));
    expect(component.toJSON()).toMatchSnapshot();
  });
  const multipleItemsBody = [{
    text: "Multiple ",
    weight: "Regular"
  }, {
    text: "styles",
    weight: "Bold"
  }, {
    text: " text ",
    weight: "Light"
  }, {
    text: "just",
    weight: "Medium"
  }, {
    text: " weights",
    weight: "Semibold"
  }];
});
//# sourceMappingURL=ComposedBodyFromArray.test.js.map