navigator mocked