Backed out changeset ed509fc86e9d

Reviewed By: javache

Differential Revision: D3029704

fb-gh-sync-id: 87e6fe282c08d7128e1f5f00a956af0b6e341b30
shipit-source-id: 87e6fe282c08d7128e1f5f00a956af0b6e341b30
This commit is contained in:
Konstantin Raev
2016-03-09 08:22:31 -08:00
committed by Facebook Github Bot 9
parent 3418dd5621
commit 9213d0411d
3 changed files with 5 additions and 276 deletions

View File

@@ -386,11 +386,4 @@ describe('NavigationLegacyNavigatorRouteStack:', () => {
],
});
});
it('coverts from navigation state', () => {
const stack = new NavigationLegacyNavigatorRouteStack(0, ['a', 'b']);
const state = stack.toNavigationState().children[0];
const route = NavigationLegacyNavigatorRouteStack.getRouteByNavigationState(state);
expect(route).toBe('a');
});
});