Skip to content

Commit

Permalink
Directly call jest
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Aug 5, 2017
1 parent 2727a12 commit 25d0d11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ matrix:

script:
- yarn lint
- yarn test
- yarn jest
- yarn docs
- if [[ $TRAVIS_NODE_VERSION == "8" ]]; then yarn add dtslint; yarn dts-lint; fi

Expand Down
2 changes: 1 addition & 1 deletion source/platforms/github/GitHubAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class GitHubAPI {
* but for now that's just a refactor someone can try.
*/
getExternalAPI(): GitHubNodeAPI {
const baseUrl = process.env["DANGER_GITHUB_API_BASE_URL"] || null
const baseUrl = process.env["DANGER_GITHUB_API_BASE_URL"] || undefined
const api = new GitHubNodeAPI({
host: baseUrl,
headers: {
Expand Down

0 comments on commit 25d0d11

Please sign in to comment.