mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-07 16:19:02 +02:00
decaffeinate: Run post-processing cleanups on ContactsApp.coffee and 1 other file
This commit is contained in:
committed by
Simon Detheridge
parent
01e42e2b1c
commit
1aab5bd086
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user