mirror of
https://github.com/kiegroup/git-backporting.git
synced 2025-06-29 06:03:50 +00:00
minors
This commit is contained in:
parent
74703c48f3
commit
8828684a38
6 changed files with 13 additions and 14 deletions
|
@ -74,7 +74,7 @@ beforeEach(() => {
|
|||
|
||||
describe("git cli service", () => {
|
||||
test("version", async () => {
|
||||
const result = await git.version();
|
||||
const result = await git.version(cwd);
|
||||
const actualVersion = spawnSync("git", ["version"]).stdout.toString();
|
||||
const match = actualVersion.match(/(\d+\.\d+(\.\d+)?)/);
|
||||
if (match) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue