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.

469 B
Raw Blame
import { loadRecipes } from './registry'

describe('loadRecipes', () => {
    it('loads the bundled recipes', () => {
        const recipes = loadRecipes()
        expect(recipes.length).toBeGreaterThan(0)
        expect(recipes.every((r) => typeof r.id === 'string' && r.id.length > 0)).toBe(true)
    })

    it('has unique recipe ids', () => {
        const ids = loadRecipes().map((recipe) => recipe.id)
        expect(new Set(ids).size).toBe(ids.length)
    })
})