bbbbf68382
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
16 lines
468 B
TypeScript
16 lines
468 B
TypeScript
import { describe, expect, test } from "bun:test"
|
|
import { ULW_LOOP_TEMPLATE } from "./ralph-loop"
|
|
|
|
describe("ULW_LOOP_TEMPLATE", () => {
|
|
test("returns the documented iteration caps for ultrawork and normal modes", () => {
|
|
// given
|
|
const expectedIterationCaps = "The iteration limit is 500 for ultrawork mode, 100 for normal mode"
|
|
|
|
// when
|
|
const template = ULW_LOOP_TEMPLATE
|
|
|
|
// then
|
|
expect(template).toContain(expectedIterationCaps)
|
|
})
|
|
})
|