Skip to content

Commit

Permalink
Make green
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Nov 12, 2018
1 parent 8c40e40 commit 2989fdc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -14,7 +14,8 @@
## Master

- Improves debug logging, messaging on CI about status updates - [@orta][]
- Better detection of json results: {} from a sub-process- [@orta][]
- Better detection of json results: {} from a sub-process - [@orta][]
- CLI Args are actually passed to subprocess instead of an empty object - [@orta][]

# 6.1.0

Expand Down
8 changes: 4 additions & 4 deletions source/platforms/github/_tests/_github_api.test.ts
Expand Up @@ -162,7 +162,7 @@ describe("API testing", () => {
method: "POST",
body: '{"state":"pending","context":"Danger","target_url":"http://danger.systems/js","description":"message"}',
},
undefined
true
)
})

Expand All @@ -181,7 +181,7 @@ describe("API testing", () => {
method: "POST",
body: '{"state":"failure","context":"Danger","target_url":"http://danger.systems/js","description":"message"}',
},
undefined
true
)
})

Expand All @@ -200,7 +200,7 @@ describe("API testing", () => {
method: "POST",
body: '{"state":"success","context":"Danger","target_url":"http://example.org","description":"message"}',
},
undefined
true
)
})

Expand All @@ -219,7 +219,7 @@ describe("API testing", () => {
method: "POST",
body: '{"state":"success","context":"Danger","target_url":"http://danger.systems/js","description":"message"}',
},
undefined
true
)
})

Expand Down
2 changes: 1 addition & 1 deletion source/runner/_tests/_executor.test.ts
Expand Up @@ -29,7 +29,7 @@ const defaultConfig = {
const fakeCI = new FakeCI({})

const defaultDsl = (platform: any): Promise<DangerDSLType> => {
return jsonDSLGenerator(platform, fakeCI).then(jsonDSL => {
return jsonDSLGenerator(platform, fakeCI, {} as any).then(jsonDSL => {
jsonDSL.github = {
pr: {
number: 1,
Expand Down
2 changes: 1 addition & 1 deletion source/runner/runners/_tests/vm2.test.ts
Expand Up @@ -48,7 +48,7 @@ runners.forEach(run => {
const source = new FakeCI({})
exec = new Executor(source, platform, run.fn, config)

const dsl = await jsonDSLGenerator(platform, new FakeCI({}))
const dsl = await jsonDSLGenerator(platform, new FakeCI({}), {} as any)
dsl.github = {
pr: {
number: 1,
Expand Down

0 comments on commit 2989fdc

Please sign in to comment.