From 3c925bb27efbbd879749552b53e6c32d3741d620 Mon Sep 17 00:00:00 2001 From: Manu MA Date: Thu, 8 Aug 2019 20:07:22 +0200 Subject: [PATCH] test(virtual-scroll): make cards test deterministic (#19049) --- core/src/components/virtual-scroll/test/cards/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/components/virtual-scroll/test/cards/index.html b/core/src/components/virtual-scroll/test/cards/index.html index ab7699eb61..0fcad70b0b 100644 --- a/core/src/components/virtual-scroll/test/cards/index.html +++ b/core/src/components/virtual-scroll/test/cards/index.html @@ -69,7 +69,7 @@ const items = []; for (var i = 0; i < 1000; i++) { items.push({ - content: lorem.substring(0, (Math.random() * (lorem.length - 100)) + 100) + content: lorem.substring(0, lorem.length * ((i % 4)+1) / 5) }); } virtual.items = items;