Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

3.3 KB
Raw Blame
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`HogFlowManager returns the hog flow 1`] = `
[
  {
    "abort_action": null,
    "action_redirects": null,
    "actions": [
      {
        "config": {
          "filters": {
            "actions": [],
            "bytecode": [
              "_h",
              29,
            ],
            "events": [],
          },
          "type": "event",
        },
        "created_at": "CREATED_AT",
        "description": "trigger",
        "id": "trigger",
        "name": "trigger",
        "on_error": "continue",
        "type": "trigger",
        "updated_at": "UPDATED_AT",
      },
      {
        "config": {},
        "created_at": "CREATED_AT",
        "description": "exit",
        "id": "exit",
        "name": "exit",
        "on_error": "continue",
        "type": "exit",
        "updated_at": "UPDATED_AT",
      },
    ],
    "billable_action_types": [],
    "conversion": null,
    "created_at": "CREATED_AT",
    "description": "",
    "edges": [
      {
        "from": "trigger",
        "to": "exit",
        "type": "continue",
      },
    ],
    "email_sending_paused_at": null,
    "email_sending_paused_by": "",
    "email_sending_paused_reason": "",
    "email_sending_rate_limit": null,
    "exit_condition": "exit_on_conversion",
    "id": "<REPLACED-UUID-0>",
    "name": "Test Hog Flow team 1",
    "status": "active",
    "team_id": "TEAM_ID",
    "trigger": {
      "filters": {
        "actions": [],
        "bytecode": [
          "_h",
          29,
        ],
        "events": [],
      },
      "type": "event",
    },
    "trigger_masking": null,
    "updated_at": "UPDATED_AT",
    "variables": null,
    "version": 1,
  },
  {
    "abort_action": null,
    "action_redirects": null,
    "actions": [
      {
        "config": {
          "filters": {
            "actions": [],
            "bytecode": [
              "_h",
              29,
            ],
            "events": [],
          },
          "type": "event",
        },
        "created_at": "CREATED_AT",
        "description": "trigger",
        "id": "trigger",
        "name": "trigger",
        "on_error": "continue",
        "type": "trigger",
        "updated_at": "UPDATED_AT",
      },
      {
        "config": {},
        "created_at": "CREATED_AT",
        "description": "exit",
        "id": "exit",
        "name": "exit",
        "on_error": "continue",
        "type": "exit",
        "updated_at": "UPDATED_AT",
      },
    ],
    "billable_action_types": [],
    "conversion": null,
    "created_at": "CREATED_AT",
    "description": "",
    "edges": [
      {
        "from": "trigger",
        "to": "exit",
        "type": "continue",
      },
    ],
    "email_sending_paused_at": null,
    "email_sending_paused_by": "",
    "email_sending_paused_reason": "",
    "email_sending_rate_limit": null,
    "exit_condition": "exit_on_conversion",
    "id": "<REPLACED-UUID-1>",
    "name": "Test Hog Flow team 1 - other",
    "status": "active",
    "team_id": "TEAM_ID",
    "trigger": {
      "filters": {
        "actions": [],
        "bytecode": [
          "_h",
          29,
        ],
        "events": [],
      },
      "type": "event",
    },
    "trigger_masking": null,
    "updated_at": "UPDATED_AT",
    "variables": null,
    "version": 1,
  },
]
`;