Skip to content

Commit efc3797

Browse files
author
Simon Engledew
committed
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.
1 parent 9a0139e commit efc3797

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

lib/external-queries.test.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/external-queries.test.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/external-queries.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ test("checkoutExternalQueries", async (t) => {
5959
await runGit(["init", repoPath]);
6060
await runGit(["config", "user.email", "test@github.com"]);
6161
await runGit(["config", "user.name", "Test Test"]);
62+
await runGit(["config", "commit.gpgsign", "false"]);
6263

6364
fs.writeFileSync(path.join(repoPath, "a"), "a content");
6465
await runGit(["add", "a"]);

0 commit comments

Comments
 (0)