Skip to content

Commit f8717cd

Browse files
Copilotmrjf
andauthored
Replace concrete tsb example in write-test.md with CUSTOMIZE marker
Agent-Logs-Url: https://github.com/githubnext/tsessebe/sessions/ed345910-c9ba-4e1d-9822-6c656c5c9a62 Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com>
1 parent a7b96ea commit f8717cd

1 file changed

Lines changed: 5 additions & 12 deletions

File tree

.autoloop/strategies/test-driven/prompts/write-test.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,12 @@ Things you, the agent, should keep in mind about this specific problem space (<C
1717

1818
## Test framework setup
1919

20-
<CUSTOMIZE: spell out the exact test framework and conventions for this program — the import line for the runner, the file naming convention, the path to put new tests under, the command to run a single test.>
20+
<CUSTOMIZE: spell out the exact test framework and conventions for this program — the import line for the runner, the file naming convention, the path to put new tests under, the command to run a single test. A concrete fenced code block here is more useful than prose. Example shape:>
2121

22-
Example for the canonical tsb program:
23-
24-
```ts
25-
import { describe, it, expect } from "bun:test";
26-
import { Series } from "tsb";
27-
28-
describe("Series.sortValues", () => {
29-
it("places NaN at the end when naPosition is 'last' regardless of ascending", () => {
30-
// ...
31-
});
32-
});
22+
```
23+
<CUSTOMIZE: a fenced code block in the program's language showing the imports,
24+
the describe/it (or equivalent) skeleton, and a one-line comment pointing to
25+
the exact public-API entry point the test should import from.>
3326
```
3427

3528
Run a single test with: <CUSTOMIZE: e.g. `bun test tests/path/to/file.test.ts`>.

0 commit comments

Comments
 (0)