splitster
Version:
Javascript AB testing tool
67 lines (62 loc) • 1.11 kB
JavaScript
// @flow
import type { Config } from "../../../src/index";
export const BUTTON_COLOR = "BUTTON_COLOR";
const CONSOLE = "CONSOLE";
const config: Config = {
tests: {
BUTTON_COLOR: {
defaultVariant: "red",
variants: {
red: {
value: "RED",
ratio: 1
},
blue: {
value: "BLUE",
ratio: 1
}
},
version: 7
},
// __disabled_config
SHOW_ADD: {
defaultVariant: "show",
disabled: true,
variants: {
show: {
value: "SHOW",
ratio: 1
},
hide: {
value: "HIDE",
ratio: 1
}
}
},
// __disabled_usage
UNIVERSE_QUESTION: {
defaultVariant: "wise",
usage: 0,
variants: {
wise: 1,
dumb: 1
}
},
// __disable_user_group
KEK: {
defaultVariant: "lol",
// disabled: true,
variants: {
lol: 1,
bur: 1
},
userGroup: () => true
}
},
options: {
cookies: {
// disable: true,
}
}
};
export default config;