Disable gpg key signing in tests
This avoids a popup appearing if your GPG key has a passphrase and ensures the tests still pass even if GPG is misconfigured.
This commit is contained in:
parent
9a0139eee2
commit
efc3797e30
3 changed files with 3 additions and 1 deletions
1
lib/external-queries.test.js
generated
1
lib/external-queries.test.js
generated
|
|
@ -66,6 +66,7 @@ ava_1.default("checkoutExternalQueries", async (t) => {
|
|||
await runGit(["init", repoPath]);
|
||||
await runGit(["config", "user.email", "test@github.com"]);
|
||||
await runGit(["config", "user.name", "Test Test"]);
|
||||
await runGit(["config", "commit.gpgsign", "false"]);
|
||||
fs.writeFileSync(path.join(repoPath, "a"), "a content");
|
||||
await runGit(["add", "a"]);
|
||||
await runGit(["commit", "-m", "commit1"]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue