Files
supabase/packages/ai-commands/test/extensions.d.ts
Greg Richardson 1a244b79a5 Automated AI tests via GitHub Actions (#19880)
* ci: ai tests

* chore(ai-commands): update readme

* fix: dont load .env.local in ci environment

* fix: pass openai env variable into ci job

* feat(ai): llm evaluated tests

* chore(ai): remove unused jest snapshots
2023-12-20 09:34:30 -07:00

12 lines
267 B
TypeScript

import 'expect'
declare module 'expect' {
interface Matchers {
/**
* Check that a string matches a natural language criteria
* describing the expected output. Uses a LLM to evaluate.
*/
toMatchCriteria(criteria: string): Promise<void>
}
}