st', function() {
    let rafRan = false;
    tr.b.requestAnimationFrame(function() {
      rafRan = true;
    });
    let idleRan = false;
    tr.b.requestIdleCallback(function() {
      idleRan = true;
    });
    assert.isFalse(rafRan);
    assert.isFalse(idleRan);
    tr.b.forceAllPendingTasksToRunForTest();
    assert.isTrue(rafRan);
    assert.isTrue(idleRan);
  });

  test('forcePendingRAFTasksToRun', function() {
    let rafRan = false;
    tr.b.requestAnimationFrame(function() {
      rafRan = true