code-server/packages/scripts/test-setup.js

4 lines
64 B
JavaScript
Raw Normal View History

2019-01-08 07:46:19 +07:00
global.requestAnimationFrame = (cb) => {
setTimeout(cb, 0);
};