chore(core): disable commit gpgsign
When running tests locally, if global Git config is set to sign commit with gpg then, tests are failing with `gpg failed to sign the data`, this fixes this issue.
This commit is contained in:
parent
65f6c0d562
commit
19964a62ae
@ -505,6 +505,7 @@ describe('affected (with git)', () => {
|
||||
runCommand(`git init`);
|
||||
runCommand(`git config user.email "test@test.com"`);
|
||||
runCommand(`git config user.name "Test"`);
|
||||
runCommand(`git config commit.gpgsign false`);
|
||||
runCommand(
|
||||
`git add . && git commit -am "initial commit" && git checkout -b main`
|
||||
);
|
||||
|
||||
@ -12,6 +12,7 @@ describe('git-hasher', () => {
|
||||
run(`git init`);
|
||||
run(`git config user.email "test@test.com"`);
|
||||
run(`git config user.name "test"`);
|
||||
run(`git config commit.gpgsign false`);
|
||||
|
||||
warnSpy.mockClear();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user