"use strict";

var _default = require("../../../theme/default");
var _background = _interopRequireDefault(require("./background"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
it("renders", function () {
  expect((0, _background["default"])({
    theme: _default.DefaultTheme
  })).toBe("");
});
it("renders color", function () {
  expect((0, _background["default"])({
    theme: _default.DefaultTheme,
    background: "disabled"
  })).toBe("background-color: " + _default.DefaultTheme.colors.disabled + ";");
});
it("renders invalid color", function () {
  expect((0, _background["default"])({
    theme: _default.DefaultTheme,
    background: "invalid"
  })).toBe("background-color: invalid;");
});