0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 18:26:15 +01:00
posthog/cypress/fixtures/api/decide.js

18 lines
441 B
JavaScript
Raw Normal View History

export function decideResponse(featureFlags) {
return {
config: {
enable_collect_everything: true,
},
editorParams: {
toolbarVersion: 'toolbar',
jsURL: 'http://localhost:8234/',
},
isAuthenticated: true,
supportedCompression: ['gzip', 'gzip-js', 'lz64'],
featureFlags,
sessionRecording: {
endpoint: '/s/',
},
}
}