Adapt unit tests

Reviewed By: mirciulix, bestander

Differential Revision: D3561508

fbshipit-source-id: afede6b03112d99f73ed7cf6bbce03d1aeea0492
This commit is contained in:
David Aurelio 2016-07-14 06:18:08 -07:00 committed by Facebook Github Bot 7
parent f22e86e18d
commit 94efa8f58f
1 changed files with 1 additions and 4 deletions

View File

@ -1,4 +1,3 @@
/**
* Copyright (c) 2015, Facebook, Inc. All rights reserved.
*
@ -58,7 +57,7 @@ describe('NavigationEvent', () => {
it('recycles', () => {
var event1 = NavigationEvent.pool('foo', {}, 123);
event1.dispose();
expect(event1.type).toBe(null);
expect(event1.type).toBeFalsy();
expect(event1.data).toBe(null);
expect(event1.target).toBe(null);
@ -67,5 +66,3 @@ describe('NavigationEvent', () => {
expect(event2).toBe(event1);
});
});