mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-12-02 19:08:33 +01:00
fix(dev-runner): tighten worktree env bootstrap
This commit is contained in:
1 parent
b6115424b1
commit
a5aed931ab
3 files changed
+13
-5
No files matched your search
@@ -42,6 +42,7 @@ describe("dev-runner worktree env bootstrap", () => {
|
||||
"PAPERCLIP_INSTANCE_ID=feature-worktree",
|
||||
"PAPERCLIP_IN_WORKTREE=true",
|
||||
"PAPERCLIP_WORKTREE_NAME=feature-worktree",
|
||||
"PAPERCLIP_OPTIONAL= # comment-only value",
|
||||
"",
|
||||
].join("\n"),
|
||||
"utf8",
|
||||
@@ -59,6 +60,7 @@ describe("dev-runner worktree env bootstrap", () => {
|
||||
expect(env.PAPERCLIP_HOME).toBe("/tmp/paperclip-worktrees");
|
||||
expect(env.PAPERCLIP_INSTANCE_ID).toBe("already-set");
|
||||
expect(env.PAPERCLIP_IN_WORKTREE).toBe("true");
|
||||
expect(env.PAPERCLIP_OPTIONAL).toBe("");
|
||||
});
|
||||
|
||||
it("reports uninitialized linked worktrees so dev runner can fail fast", () => {
|
||||
|
||||
Reference in new issue
Block a user