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.

631 B
Raw Blame
import { Meta, StoryObj } from '@storybook/react'

import { mswDecorator } from '~/mocks/browser'

import { JSSnippet } from './JSSnippet'

const meta: Meta = {
    title: 'Components/JSSnippet',
    component: JSSnippet,
    decorators: [
        mswDecorator({
            get: {
                '/api/organizations/:organization_id/proxy_records': [],
            },
        }),
    ],
}
export default meta

type Story = StoryObj<{}>

export const Default: Story = {
    parameters: {
        testOptions: {
            snapshotBrowsers: [], // Non-deterministic width causes intermittent snapshot failures
        },
    },
}