Skip to content

Commit

Permalink
Adapt unit tests
Browse files Browse the repository at this point in the history
Reviewed By: mirciulix, bestander

Differential Revision: D3561508

fbshipit-source-id: afede6b03112d99f73ed7cf6bbce03d1aeea0492
  • Loading branch information
davidaurelio authored and Facebook Github Bot 7 committed Jul 14, 2016
1 parent f22e86e commit 94efa8f
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/**
* Copyright (c) 2015, Facebook, Inc. All rights reserved.
*
Expand Down Expand Up @@ -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);

Expand All @@ -67,5 +66,3 @@ describe('NavigationEvent', () => {
expect(event2).toBe(event1);
});
});


0 comments on commit 94efa8f

Please sign in to comment.