From 0741f651046757d50c2e93cf8c48bd8182926bff Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Tue, 12 Dec 2017 04:02:25 +0000 Subject: [PATCH] chore(package): update prettier to version 1.9.2 --- package.json | 2 +- test/helpers/mock-github.js | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 276bb05..f918e2a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/test/helpers/mock-github.js b/test/helpers/mock-github.js index dbac387..ed76c50 100644 --- a/test/helpers/mock-github.js +++ b/test/helpers/mock-github.js @@ -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}`}}); }