()
| 11 | // in order to test transitions, we need to use |
| 12 | // await rAF() after firing transition events. |
| 13 | export const rAF = async () => { |
| 14 | return new Promise((res) => { |
| 15 | requestAnimationFrame(() => { |
| 16 | requestAnimationFrame(res) |
| 17 | }) |
| 18 | }) |
| 19 | } |
no outgoing calls