Default framed to non-blocks and fix unit test by removing requestAnimationFrame.