Skip to content
This repository has been archived by the owner on Jan 14, 2018. It is now read-only.

Commit

Permalink
chore(package): update prettier to version 1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
greenkeeper[bot] authored and pvdlg committed Dec 12, 2017
1 parent 33acd57 commit 0741f65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"eslint-plugin-prettier": "^2.3.0",
"nock": "^9.0.22",
"nyc": "^11.2.1",
"prettier": "~1.9.0",
"prettier": "~1.9.2",
"proxyquire": "^1.7.1",
"semantic-release": "^10.0.0",
"sinon": "^4.0.0",
Expand Down
8 changes: 5 additions & 3 deletions test/helpers/mock-github.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import nock from 'nock';

export default function authenticate(
{githubToken = 'GH_TOKEN', githubUrl = 'https://api.github.com', githubApiPathPrefix = ''} = {}
) {
export default function authenticate({
githubToken = 'GH_TOKEN',
githubUrl = 'https://api.github.com',
githubApiPathPrefix = '',
} = {}) {
return nock(`${githubUrl}/${githubApiPathPrefix}`, {reqheaders: {authorization: `token ${githubToken}`}});
}

0 comments on commit 0741f65

Please sign in to comment.