Просмотр исходного кода

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

decaffeinate 6 лет назад
Родитель
Сommit
afbc798fda

+ 7 - 1
services/contacts/test/unit/coffee/ContactsManagerTests.js

@@ -1,3 +1,9 @@
+/* eslint-disable
+    no-return-assign,
+    no-unused-vars,
+*/
+// TODO: This file was created by bulk-decaffeinate.
+// Fix any style issues and re-enable lint.
 /*
 /*
  * decaffeinate suggestions:
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns
  * DS102: Remove unnecessary code created because of implicit returns
@@ -33,7 +39,7 @@ describe("ContactManager", function() {
 		return this.callback = sinon.stub();
 		return this.callback = sinon.stub();
 	});
 	});
 	
 	
-	afterEach(() => tk.reset());
+	afterEach(function() { return tk.reset(); });
 
 
 	describe("touchContact", function() {
 	describe("touchContact", function() {
 		beforeEach(function() {
 		beforeEach(function() {

+ 8 - 1
services/contacts/test/unit/coffee/HttpControllerTests.js

@@ -1,3 +1,10 @@
+/* eslint-disable
+    mocha/no-pending-tests,
+    no-return-assign,
+    no-unused-vars,
+*/
+// TODO: This file was created by bulk-decaffeinate.
+// Fix any style issues and re-enable lint.
 /*
 /*
  * decaffeinate suggestions:
  * decaffeinate suggestions:
  * DS102: Remove unnecessary code created because of implicit returns
  * DS102: Remove unnecessary code created because of implicit returns
@@ -147,6 +154,6 @@ describe("HttpController", function() {
 			});
 			});
 		});
 		});
 		
 		
-		return describe("with a holding account", () => it("should not return holding accounts"));
+		return describe("with a holding account", function() { return it("should not return holding accounts"); });
 	});
 	});
 });
 });