mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Backed out changeset ed509fc86e9d
Reviewed By: javache Differential Revision: D3029704 fb-gh-sync-id: 87e6fe282c08d7128e1f5f00a956af0b6e341b30 shipit-source-id: 87e6fe282c08d7128e1f5f00a956af0b6e341b30
This commit is contained in:
committed by
Facebook Github Bot 9
parent
3418dd5621
commit
9213d0411d
@@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user