We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 807ce4e commit 2041daaCopy full SHA for 2041daa
1 file changed
src/git-utils.test.ts
@@ -8,7 +8,7 @@ import * as sinon from "sinon";
8
9
import * as actionsUtil from "./actions-util";
10
import * as gitUtils from "./git-utils";
11
-import { setupActionsVars, setupTests, SHA256_GITHUB_SHA } from "./testing-utils";
+import { setupActionsVars, setupTests } from "./testing-utils";
12
import { withTmpDir } from "./util";
13
14
setupTests(test);
@@ -405,9 +405,7 @@ test.serial(
405
406
sinon
407
.stub(gitUtils as any, "runGitCommand")
408
- .resolves(
409
- `commit ${mergeSha}\nparent ${baseOid}\nparent ${headOid}\n`,
410
- );
+ .resolves(`commit ${mergeSha}\nparent ${baseOid}\nparent ${headOid}\n`);
411
412
const result = await gitUtils.determineBaseBranchHeadCommitOid(__dirname);
413
t.deepEqual(result, baseOid);
0 commit comments