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

4 lines
64 B
JavaScript
Raw Normal View History

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