mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-16 00:03:04 +00:00
Rename Foundry handoffs to tasks (#239)
* Restore foundry onboarding stack * Consolidate foundry rename * Create foundry tasks without prompts * Rename Foundry handoffs to tasks
This commit is contained in:
parent
d30cc0bcc8
commit
d75e8c31d1
281 changed files with 9242 additions and 4356 deletions
|
|
@ -1,25 +0,0 @@
|
|||
import { describe, expect, it } from "vitest";
|
||||
import { sanitizeEditorTask } from "../src/task-editor.js";
|
||||
|
||||
describe("task editor helpers", () => {
|
||||
it("strips comment lines and trims whitespace", () => {
|
||||
const value = sanitizeEditorTask(`
|
||||
# comment
|
||||
Implement feature
|
||||
|
||||
# another comment
|
||||
with more detail
|
||||
`);
|
||||
|
||||
expect(value).toBe("Implement feature\n\nwith more detail");
|
||||
});
|
||||
|
||||
it("returns empty string when only comments are present", () => {
|
||||
const value = sanitizeEditorTask(`
|
||||
# hello
|
||||
# world
|
||||
`);
|
||||
|
||||
expect(value).toBe("");
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue