The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
import { dataAppEnvPrefix } from "./env-prefix";
describe("dataAppEnvPrefix", () => {
it("exposes the app's DATA_APP_ env vars in the dev preview (serve)", () => {
expect(dataAppEnvPrefix("serve")).toEqual(["DATA_APP_"]);
});
it("exposes no DATA_APP_ env vars in a production build", () => {
expect(dataAppEnvPrefix("build")).toBeUndefined();
});
});