Files
insights-node/tests/assets/mockFlagsResponse.js
Darkhorse7starsandHanzo Dev a14a3df5a0 rebrand: PostHog → Hanzo Insights across entire codebase
- Rename PostHog class to Insights (with backward-compat PostHog alias)
- Package name: posthog-node → @hanzo/insights-node
- Default host: app.posthog.com → insights.hanzo.ai
- CLI command: posthog → insights
- Update all CI workflows, tests, docs, and type definitions
- Update GitHub bot token references for Hanzo org

Co-authored-by: Hanzo Dev <[email protected]>
2026-03-23 16:55:36 -05:00

77 lines
2.0 KiB
JavaScript

const mockSimpleFlagResponse = {
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 719,
"name": "",
"key": "simpleFlag",
"filters": {
"groups": [
{
"properties": [],
"rollout_percentage": null
}
]
},
"deleted": false,
"active": true,
"is_simple_flag": true,
"rollout_percentage": null
},
{
"id": 720,
"name": "",
"key": "enabled-flag",
"filters": {
"groups": [
{
"properties": [],
"rollout_percentage": null
}
]
},
"deleted": false,
"active": true,
"is_simple_flag": false,
"rollout_percentage": null
},
{
"id": 721,
"name": "",
"key": "disabled-flag",
"filters": {
"groups": [
{
"properties": [],
"rollout_percentage": null
}
]
},
"deleted": false,
"active": true,
"is_simple_flag": false,
"rollout_percentage": null
},
{
"id": 722,
"name": "",
"key": "multivariate-feature",
"filters": {
"groups": [
{
"properties": [],
"rollout_percentage": null
}
]
},
"deleted": false,
"active": true,
"is_simple_flag": false,
"rollout_percentage": null
},
]
}
module.exports = { mockSimpleFlagResponse }