Skip to content

Commit

Permalink
experiment: add frame delay to e2e snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Jan 10, 2025
1 parent cfc912f commit b7104dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function App() {

function Scene() {
useEffect(() => {
requestAnimationFrame(() => )
requestAnimationFrame(() => document.dispatchEvent(new Event('playright:r3f')))
}, [])

return (
Expand Down

0 comments on commit b7104dd

Please sign in to comment.