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

Function navigate

apps/automated/src/navigation/navigation-tests.ts:149–149  ·  view source on GitHub ↗
(tag)

Source from the content-addressed store, hash-verified

147 const mainTestPage = topmost.currentPage;
148
149 const navigate = (tag) => topmost.navigate({ create: page(tag), transition: transition, animated: !!transition });
150 const back = (pages) => topmost.goBack(topmost.backStack[topmost.backStack.length - pages]);
151 const currentPageMustBe = (tag) => TKUnit.assertEqual(topmost.currentPage['tag'], tag, 'Expected current page to be ' + tag + ' it was ' + topmost.currentPage['tag'] + ' instead.');
152

Callers 1

_test_backToEntryFunction · 0.70

Calls 2

pageFunction · 0.70
navigateMethod · 0.65

Tested by

no test coverage detected