Skip to content

Commit

Permalink
Get tests running locally
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Jun 30, 2021
1 parent c61de23 commit ef21951
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions source/ci_source/providers/_tests/_bamboo.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ describe(".isPR", () => {

it("needs to have a PR number", () => {
let env = Object.assign({}, correctEnv)
// @ts-ignore
delete env["bamboo_repository_pr_key"]
const pipelines = new Bamboo(env)
expect(pipelines.isPR).toBeFalsy()
Expand Down
1 change: 1 addition & 0 deletions source/ci_source/providers/_tests/_buddyWorks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ describe(".isPR", () => {

it("needs to have a PR number", () => {
const env = Object.assign({}, correctEnv)
// @ts-ignore
delete env.BUDDY_EXECUTION_PULL_REQUEST_NO
const buddyWorks = new BuddyWorks(env)
expect(buddyWorks.isPR).toBeFalsy()
Expand Down

0 comments on commit ef21951

Please sign in to comment.