"use strict";

var _testUtilities = require("testUtilities");
var _index = _interopRequireDefault(require("./index"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
describe("useColor", function () {
  it("should return the desired color", function () {
    var colorToReturn = "primary";
    var expetedColorHexCode = "#00AB44";
    var _renderHookWithProvid = (0, _testUtilities.renderHookWithProviders)(function () {
        return (0, _index["default"])();
      }, {}),
      result = _renderHookWithProvid.result;
    expect(result.current(colorToReturn)).toBe(expetedColorHexCode);
  });
});