code-server/scripts/test-setup.js

4 lines
64 B
JavaScript
Raw Normal View History

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