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

17 lines
397 B
JavaScript
Raw Normal View History

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