import { renderHookWithProviders } from "testUtilities";
import useColor from "./index";
describe("useColor", function () {
  it("should return the desired color", function () {
    var colorToReturn = "primary";
    var expetedColorHexCode = "#00AB44";
    var _renderHookWithProvid = renderHookWithProviders(function () {
        return useColor();
      }, {}),
      result = _renderHookWithProvid.result;
    expect(result.current(colorToReturn)).toBe(expetedColorHexCode);
  });
});