code-server/scripts/test-setup.js

4 lines
64 B
JavaScript
Raw Normal View History

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