MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / navigateToModuleAndRunTest

Function navigateToModuleAndRunTest

apps/automated/src/ui-helper.ts:151–154  ·  view source on GitHub ↗
(moduleName, context, testFunction)

Source from the content-addressed store, hash-verified

149}
150
151export function navigateToModuleAndRunTest(moduleName, context, testFunction) {
152 let page = navigateToModule(moduleName, context);
153 testFunction(page);
154}
155
156export function navigate(pageFactory: () => Page, navigationContext?: any): Page {
157 let entry: NavigationEntry = { create: pageFactory, animated: false, context: navigationContext, clearHistory: true };

Callers

nothing calls this directly

Calls 1

navigateToModuleFunction · 0.85

Tested by

no test coverage detected