upgrade to prettier 2 (#5051)

* arrowParens: avoid
* remove trailingComma setting
This commit is contained in:
chris48s
2020-05-05 21:07:43 +01:00
committed by GitHub
parent 1c736f2159
commit 13d75e0607
337 changed files with 1882 additions and 2707 deletions

View File

@@ -5,8 +5,8 @@ const nock = require('nock')
const { cleanUpNockAfterEach, defaultContext } = require('../test-helpers')
const TwitchStatus = require('./twitch.service')
describe('TwitchStatus', function() {
describe('auth', function() {
describe('TwitchStatus', function () {
describe('auth', function () {
cleanUpNockAfterEach()
const user = 'admin'
@@ -19,7 +19,7 @@ describe('TwitchStatus', function() {
},
}
it('sends the auth information as configured', async function() {
it('sends the auth information as configured', async function () {
const tokenNock = nock('https://id.twitch.tv')
.post('/oauth2/token')
// This ensures that the expected credentials are actually being sent with the HTTP request.