JSDOM not properly polyfilling requestAnimationFrame
#6937
Labels
issue: bug
Describes why the code or behaviour is wrong
requestAnimationFrame
#6937
Check for duplicates
Description
JSDOM is not properly polyfilling
window.requestAnimationFrame
for us. This causes problems when we are testing head-ful code in a headless environment (i.e. node).Note that it will not break headless mode (because headless mode doesn't hit this code). It only breaks headful mode when running in node, which we do for some unit tests (e.g. in samples).
Reproduction steps
requestAnimationFrame
I added in chore: shareable release prep blockly-samples#1643npm run test
Stack trace
Screenshots
N/A
Browsers
No response
The text was updated successfully, but these errors were encountered: