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

4 lines
64 B
JavaScript

global.requestAnimationFrame = (cb) => {
setTimeout(cb, 0);
};