Skip to content

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

317 B
Raw Blame
import { dataAppOutDir } from "./build-config";

describe("dataAppOutDir", () => {
  it("builds into dist/ by default", () => {
    expect(dataAppOutDir({})).toBe("dist");
  });

  it("builds into the outDir the user passes", () => {
    expect(dataAppOutDir({ build: { outDir: "build" } })).toBe("build");
  });
});