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

Function assert

apps/automated/src/ui/lifecycle/lifecycle-tests.ts:21–24  ·  view source on GitHub ↗
(count)

Source from the content-addressed store, hash-verified

19 const btn1 = page.getViewById<btnCounter.Button>('btn1');
20
21 function assert(count) {
22 TKUnit.assertEqual(btn1.backgroundInternalSetNativeCount, count, 'backgroundInternal.setNative');
23 TKUnit.assertEqual(btn1.nativeBackgroundRedraws, count, '_redrawNativeBackground');
24 }
25
26 assert(1);
27

Calls 1

forEachMethod · 0.80

Tested by

no test coverage detected