mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-16 20:45:33 -08:00
Stop background git maintenance in test fixture repos and wait for the notepad to finish drawing before asserting, so npm test passes on CI runners
AI Assisted
This commit is contained in:
1 parent
dd2ab86584
commit
5043b424cf
2 files changed
+18
-3
No files matched your search
@@ -99,6 +99,11 @@ export function gitInit(dir, branch = "main") {
|
||||
g("config", "user.email", "t@example.com");
|
||||
g("config", "user.name", "Test");
|
||||
g("config", "commit.gpgsign", "false");
|
||||
// No background maintenance after a commit: on macOS it held
|
||||
// .git/objects/maintenance.lock while copyFixture copied the template, and
|
||||
// the copy failed with ENOENT once the lock was gone.
|
||||
g("config", "maintenance.auto", "false");
|
||||
g("config", "gc.auto", "0");
|
||||
return g;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user