Bug 1242962 - Make services/cloudsync eslintable. r=rnewman
authorHector Zhao <bzhao@mozilla.com>
Tue, 26 Jan 2016 22:52:29 +0800
changeset 327105 97c7648e083d6b83e6010a591acb97a2af9bf5ce
parent 327104 3ba18d54f7578ff2d212c2cf55f14927851e7706
child 327106 ad188676eb21005a369b270dd989b12747265d8d
push id10194
push userdmitchell@mozilla.com
push dateFri, 29 Jan 2016 17:28:53 +0000
reviewersrnewman
bugs1242962
milestone47.0a1
Bug 1242962 - Make services/cloudsync eslintable. r=rnewman
services/cloudsync/tests/xpcshell/test_tabs.js
--- a/services/cloudsync/tests/xpcshell/test_tabs.js
+++ b/services/cloudsync/tests/xpcshell/test_tabs.js
@@ -4,17 +4,17 @@
 "use strict";
 
 Cu.import("resource://gre/modules/CloudSync.jsm");
 
 function run_test () {
   run_next_test();
 }
 
-add_task(function test_get_remote_tabs () {
+add_task(function* test_get_remote_tabs () {
   let cloudSync = CloudSync();
   let clients = yield cloudSync.tabs.getRemoteTabs();
   equal(clients.length, 0);
 
   yield cloudSync.tabs.mergeRemoteTabs({
       id: "001",
       name: "FakeClient",
     },[