Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

258 B
Raw Blame
import fetchMock from "fetch-mock";

export function setupUpdateGoogleAuthEndpoint(
  { status }: { status?: number } = { status: 204 },
) {
  fetchMock.put(
    new RegExp("/api/google/settings"),
    { status },
    { name: "google-settings-put" },
  );
}