Auto-fix lint errors

Reviewed By: bestander

Differential Revision: D3683952

fbshipit-source-id: 9484d0b0e86859e8edaca0da1aa13a667f200905
This commit is contained in:
David Aurelio
2016-08-09 06:32:41 -07:00
committed by Facebook Github Bot 4
parent 8e2906ae89
commit 94666f16c7
58 changed files with 293 additions and 293 deletions

View File

@@ -64,7 +64,7 @@ describe('MessageQueue', function() {
it('should enqueue native calls', () => {
queue.__nativeCall(0, 1, [2]);
let flushedQueue = queue.flushedQueue();
const flushedQueue = queue.flushedQueue();
assertQueue(flushedQueue, 0, 0, 1, [2]);
});
@@ -77,13 +77,13 @@ describe('MessageQueue', function() {
it('should generate native modules', () => {
queue.RemoteModules.RemoteModule1.remoteMethod1('foo');
let flushedQueue = queue.flushedQueue();
const flushedQueue = queue.flushedQueue();
assertQueue(flushedQueue, 0, 0, 0, ['foo']);
});
it('should store callbacks', () => {
queue.RemoteModules.RemoteModule1.remoteMethod2('foo', () => {}, () => {});
let flushedQueue = queue.flushedQueue();
const flushedQueue = queue.flushedQueue();
assertQueue(flushedQueue, 0, 0, 1, ['foo', 0, 1]);
});
@@ -111,8 +111,8 @@ describe('MessageQueue', function() {
// First we're going to call into this (overriden) test hook pretending to
// be a remote module making a "local" invocation into JS.
let onFail = jasmine.createSpy();
let onSucc = jasmine.createSpy();
const onFail = jasmine.createSpy();
const onSucc = jasmine.createSpy();
MessageQueueTestModule1.testHook1 = function() {
// Then inside of this local module, we're going to fire off a remote
// request.
@@ -173,7 +173,7 @@ describe('MessageQueue', function() {
var secondSuccCBID = resultingRemoteInvocations[2][1][3];
// Trigger init
queue.RemoteModules
queue.RemoteModules;
// Handle the first remote invocation by signaling failure.
// -------------------------------------------------------
queue.__invokeCallback(firstFailCBID, ['firstFailure']);