Skip to content

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

314 B
Raw Blame
import { defineQuery } from "./define-query";

describe("defineQuery", () => {
  it("returns the query definition unchanged", () => {
    const query = {
      source: { type: "card", entityId: "revenueQuestionEntity" },
      enabled: false,
    } as const;

    expect(defineQuery(query)).toBe(query);
  });
});