The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
import { describe, expect, it } from 'vitest'
import { AgentWatchSchedule } from './AgentWatchSchedule'
describe('AgentWatchSchedule markdown schema', () => {
it('serializes the scheduled and on-demand copy', () => {
const markdown = AgentWatchSchedule({ props: { id: 'health' } })
expect(markdown).toContain('Run it once per hour on a schedule.')
expect(markdown).toContain('Run it on demand after a deployment')
})
it('fails clearly for an unknown agent', () => {
expect(() => AgentWatchSchedule({ props: { id: 'missing' } })).toThrow(
'Unknown monitoring agent id: missing'
)
})
})