Skip to content

Commit

Permalink
Fix test indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobergj committed Oct 11, 2021
1 parent 6ebd330 commit 2860fcc
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions source/ci_source/providers/_tests/_xcodeCloud.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,17 @@ describe(".repoSlug", () => {
})

describe("commit hash", () => {
it("returns correct commit hash when present", () => {
const env = {
...correctEnv,
CI_COMMIT: "1234abc",
}
const xcodeCloud = new XcodeCloud(env)
expect(xcodeCloud.commitHash).toEqual("1234abc")
})
it("returns correct commit hash when present", () => {
const env = {
...correctEnv,
CI_COMMIT: "1234abc",
}
const xcodeCloud = new XcodeCloud(env)
expect(xcodeCloud.commitHash).toEqual("1234abc")
})

it("returns no commit hash when not present", () => {
const xcodeCloud = new XcodeCloud(correctEnv)
expect(xcodeCloud.commitHash).toBeUndefined()
})
it("returns no commit hash when not present", () => {
const xcodeCloud = new XcodeCloud(correctEnv)
expect(xcodeCloud.commitHash).toBeUndefined()
})
})

0 comments on commit 2860fcc

Please sign in to comment.