import type { MockHomeAssistant } from "../../../src/fake_data/provide_hass";

export const mockAuth = (hass: MockHomeAssistant) => {
  hass.mockWS("config/auth/list", () => []);
  hass.mockWS("auth/refresh_tokens", () => []);
  hass.mockWS("auth/sign_path", (msg: { path: string }) => ({
    path: msg.path,
  }));
};
