0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
posthog/cypress/fixtures/api/decide.js
2024-11-07 15:10:27 +01:00

17 lines
397 B
JavaScript

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