"use strict";

var _pseudos = _interopRequireWildcard(require("./pseudos"));
var _default = require("../../../theme/default");
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
var disabledColor = _default.DefaultTheme.colors.disabled;
it("renders", function () {
  expect((0, _pseudos["default"])({
    theme: _default.DefaultTheme
  })).toBe("");
});
it("render border (hover)", function () {
  var _hover = {
    border: {
      color: "disabled",
      side: "top",
      size: "1rem",
      type: "dashed"
    }
  };
  var pseudo = "\n" + _pseudos.pseudoSelectors["_hover"] + "{\nborder-top: 1rem dashed " + disabledColor + ";\n}";
  expect((0, _pseudos["default"])({
    theme: _default.DefaultTheme,
    _hover: _hover
  })).toBe(pseudo);
});