Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Update snapshots after rebase to linear history

Maximilian Roos78077a1aa1e2
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__bare_repository__bare_repo_list_worktrees.snap b/tests/integration_tests/snapshots/integration__integration_tests__bare_repository__bare_repo_list_worktrees.snap
index 6f4eb695f..e98b6beff 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__bare_repository__bare_repo_list_worktrees.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__bare_repository__bare_repo_list_worktrees.snap
@@ -12,14 +12,14 @@ info:
LC_ALL: C
NO_COLOR: ""
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpXGMP5v/test-config.toml
+ WORKTRUNK_CONFIG: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpDC2sK6/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch Status Working ± Main ↕ State Path Commit
-feature ./test-repo.feature 5c078f19
-main ↓ ↓1 (no commits) ./test-repo.main 039e01d8
+Branch Status Working ± Main ↕ Path Commit Age
+feature ./test-repo.feature 5c078f19 10 months ago
+main ∅↓ ↓1 ./test-repo.main 039e01d8 10 months ago
⚪ Showing 2 worktrees, 1 behind
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_bash.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_bash.snap
new file mode 100644
index 000000000..a5cefa8c2
--- /dev/null
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_bash.snap
@@ -0,0 +1,20 @@
+---
+source: tests/integration_tests/shell_wrapper.rs
+expression: output.normalized()
+---
+🔄 Running post-create:
+  echo 'Installing dependencies...'
+
+Installing dependencies...
+
+🔄 Running post-create:
+  echo 'Building project...'
+
+Building project...
+
+✅ Created new worktree for feature-hooks from main: [TMPDIR]/test-repo.feature-hooks
+🔄 Running post-start: server:
+  echo 'Starting dev server on port 3000'
+
+🔄 Running post-start: watch:
+  echo 'Watching for file changes'