mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
Fixed test for android.
This commit is contained in:
@ -602,7 +602,7 @@ export function test_ConverterIsCalledJustOnce_onAddingItemsToListView() {
|
||||
|
||||
TKUnit.wait(ASYNC);
|
||||
|
||||
if (utils.ios.MajorVersion < 8) {
|
||||
if (utils.ios && utils.ios.MajorVersion < 8) {
|
||||
TKUnit.assertEqual(converterCalledCounter, listViewModel.get("items").length * 2, "Converter should be called once for every item.");
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user