Skip to content

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

629 B
Raw Blame
const { defineConfig } = require("cypress");

const { defaultConfig } = require("./config");
const {
  component: embeddingSdkComponentTestConfig,
} = require("./cypress-embedding-sdk-component-test.config");

const isFailFastEnabled = process.env.FAIL_FAST === "true";

module.exports = defineConfig({
  e2e: {
    ...defaultConfig,
    expose: {
      ...defaultConfig.expose,
      FAIL_FAST: isFailFastEnabled,
    },
    retries: 0,
  },
  component: {
    ...embeddingSdkComponentTestConfig,
    expose: {
      ...embeddingSdkComponentTestConfig.expose,
      FAIL_FAST: isFailFastEnabled,
    },
    retries: 0,
  },
});