Skip to content

Commit

Permalink
feat: [KTD-3526] workable solution 28
Browse files Browse the repository at this point in the history
  • Loading branch information
damwu1 committed May 11, 2024
1 parent d636e20 commit da03f7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions k8s-deployer/test/pitfile/pitfile-loader.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as sinon from "sinon"
import * as chai from "chai"
import chaiAsPromised from 'chai-as-promised'
import * as sinon from "sinon"
chai.use(chaiAsPromised)

import * as PifFileLoader from "../../src/pitfile/pitfile-loader.js"
Expand Down Expand Up @@ -47,7 +47,7 @@ describe("Loads pitfile from disk", () => {
})

it("should throw if location has no gitRemote", async () => {
const errorMessage = `Invalid configiuration for 'suite-1'. The 'location.gitRepository' is required when location.type is REMOTE`
const errorMessage = `Invalid configuration for 'suite-1'. The 'location.gitRepository' is required when location.type is REMOTE`
await chai.expect(PifFileLoader.loadFromFile("dist/test/pitfile/test-pitfile-valid-3-invalid.yml")).eventually.rejectedWith(errorMessage)
})

Expand Down

0 comments on commit da03f7f

Please sign in to comment.