Commit 8478e5e
authored
🤖 fix: initialize git repos in e2e fixtures (#868)
The e2e test fixtures created directories but didn't run `git init`,
causing `listBranches()` to fail with 'Not a git repository' errors.
These errors were logged but didn't fail tests since the tests don't
rely on branch-loading functionality - they were just noise in the CI
output.
**Fix:** run `git init -q` for both projectPath and workspacePath so the
fixtures behave like real projects.
_Generated with `mux`_1 parent f4c4d3c commit 8478e5e
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
52 | 63 | | |
53 | 64 | | |
54 | 65 | | |
| |||
0 commit comments