decaffeinate: Run post-processing cleanups on ContactsApp.coffee and 1 other file

This commit is contained in:
decaffeinate 2020-02-17 07:38:18 +00:00 committed by Simon Detheridge
parent 01e42e2b1c
commit 1aab5bd086
2 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,8 @@
/* eslint-disable
handle-callback-err,
*/
// TODO: This file was created by bulk-decaffeinate.
// Fix any style issues and re-enable lint.
/*
* decaffeinate suggestions:
* DS101: Remove unnecessary use of Array.from

View file

@ -1,3 +1,11 @@
/* eslint-disable
camelcase,
handle-callback-err,
no-undef,
no-unused-vars,
*/
// TODO: This file was created by bulk-decaffeinate.
// Fix any style issues and re-enable lint.
/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
@ -29,7 +37,7 @@ describe("Getting Contacts", function() {
method: "GET",
url: `${HOST}/user/${this.user_id}/contacts`,
json: true
}, function(error, response, body) {
}, (error, response, body) => {
response.statusCode.should.equal(200);
body.contact_ids.should.deep.equal([]);
return done();