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
Ben White 57874f9db2
feat(exports): Dashboard / Insight exporting (#9830)
* Adds chromium / selenium for image exporting
* Added uploading of downloads folder to artefacts
* Adds ExportButton to generate desired asset
2022-05-27 14:31:17 +02:00

18 lines
441 B
JavaScript

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/',
},
}
}