Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: configure identity for pregate conflict fixture (#9361)

[._.]/ Adam Eivy5f5b5d939326
diff --git a/scripts/pregate.test.js b/scripts/pregate.test.js
index 5bf8e42f08..28c68e3ce5 100644
--- a/scripts/pregate.test.js
+++ b/scripts/pregate.test.js
@@ -370,6 +370,8 @@ describe('the gate end to end', () => {
try {
git('init', '-q', '-b', 'main');
git('config', 'core.hooksPath', join(root, 'empty-hooks'));
+ git('config', 'user.name', 'Example Contributor');
+ git('config', 'user.email', '[email protected]');
for (const path of [
'scripts/pregate.js', 'scripts/scan-diff-hidden-content.js',
'scripts/ci-test-plan.js', 'scripts/ci-base-sha.js',
@@ -383,7 +385,7 @@ describe('the gate end to end', () => {
writeFileSync(join(root, 'package.json'), '{"type":"module"}\n');
writeFileSync(join(root, 'conflict.txt'), 'base\n');
git('add', 'conflict.txt');
- git('-c', 'user.name=Example Contributor', '-c', '[email protected]', 'commit', '-qm', 'base');
+ git('commit', '-qm', 'base');
const base = git('rev-parse', 'HEAD');
git('checkout', '-qb', 'other');
writeFileSync(join(root, 'conflict.txt'), 'other\n');