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.

468 B
Raw Blame
import { communityScoutCadenceLabel } from './communitySkillUtils'

describe('communityScoutCadenceLabel', () => {
    it.each([
        [90, 'Runs every 90 minutes'],
        [1439, 'Runs every 1439 minutes'],
        [2160, 'Runs every 36 hours'],
        [2880, 'Runs every 2 days'],
    ])('keeps the exact cadence for %i minutes', (run_interval_minutes, expected) => {
        expect(communityScoutCadenceLabel({ run_interval_minutes })).toBe(expected)
    })
})