mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3110 from Polymer/flaky-raf-workaround
Patch rAF to setTimeout to reduce flakiness on CI.
This commit is contained in:
commit
203e862976
@ -3648,6 +3648,16 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
|
||||
suite('chunked rendering', function() {
|
||||
|
||||
// Patch requestAnimationFrame to setTimeout to reduce IE test 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user