MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / pageFactory2

Function pageFactory2

apps/automated/src/ui/page/page-tests-common.ts:66–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 TKUnit.assertEqual(loaded, 0);
65
66 const pageFactory2 = function (): Page {
67 page2 = new Page();
68 page2.id = `page2_test_PageLoaded_is_called_once`;
69 addLabelToPage(page2, 'Page 2');
70 page2.on(Label.loadedEvent, handler);
71
72 return page2;
73 };
74
75 helper.navigate(pageFactory2);
76

Callers

nothing calls this directly

Calls 2

addLabelToPageFunction · 0.85
onMethod · 0.65

Tested by

no test coverage detected