"use strict";

var _reactNative = require("react-native");
var _reactNative2 = require("@testing-library/react-native");
var _IOButton = require("../IOButton");
var _jsxRuntime = require("react/jsx-runtime");
const onButtonPress = () => {
  _reactNative.Alert.alert("Alert", "Action triggered");
};
describe("Test Buttons Components", () => {
  it("IOButton Snapshot · Solid variant", () => {
    const {
      toJSON
    } = (0, _reactNative2.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_IOButton.IOButton, {
      variant: "solid",
      label: "label",
      accessibilityLabel: "accessibilityLabel",
      onPress: onButtonPress
    }));
    expect(toJSON()).toMatchSnapshot();
  });
  it("IOButton Snapshot · Link variant", () => {
    const {
      toJSON
    } = (0, _reactNative2.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_IOButton.IOButton, {
      variant: "link",
      label: "label",
      accessibilityLabel: "accessibilityLabel",
      onPress: onButtonPress
    }));
    expect(toJSON()).toMatchSnapshot();
  });
  it("IOButton Snapshot · Outline variant", () => {
    const {
      toJSON
    } = (0, _reactNative2.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_IOButton.IOButton, {
      variant: "outline",
      label: "label",
      accessibilityLabel: "accessibilityLabel",
      onPress: onButtonPress
    }));
    expect(toJSON()).toMatchSnapshot();
  });
});
//# sourceMappingURL=IOButton.test.js.map