code-server/scripts/test-setup.js

4 lines
64 B
JavaScript
Raw Normal View History

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