[Navigator] Port navigation APIs from Navigator to NavigationContext

This commit is contained in:
Hedger Wang
2015-07-24 16:50:19 -07:00
parent c8373d2ad6
commit ea5276ed24
2 changed files with 2 additions and 2 deletions

View File

@@ -201,7 +201,7 @@ describe('NavigationRouteStack:', () => {
expect(stack2).not.toBe(stack1);
expect(stack2.toArray()).toEqual(['x', 'b']);
expect(stack2.index).toBe(1);
expect(stack2.index).toBe(0);
});
it('replaces route at negative index', () => {