diff --git a/test/unit/dom-repeat.html b/test/unit/dom-repeat.html index bf9fd5a9d5..4743d4551a 100644 --- a/test/unit/dom-repeat.html +++ b/test/unit/dom-repeat.html @@ -3648,6 +3648,16 @@

x-repeat-chunked

suite('chunked rendering', function() { + // Patch requestAnimationFrame to setTimeout to reduce flakiness on CI + var rAF; + suiteSetup(function() { + rAF = window.requestAnimationFrame; + window.requestAnimationFrame = setTimeout; + }); + suiteTeardown(function() { + window.requestAnimationFrame = rAF; + }); + test('basic chunked rendering', function(done) { var checkItemOrder = function(stamped) {