mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-15 05:11:57 +00:00
decaffeinate: Run post-processing cleanups on ContactsApp.coffee and 1 other file
This commit is contained in:
parent
01e42e2b1c
commit
1aab5bd086
2 changed files with 14 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue