()
| 397 | |
| 398 | // Utility to flush microtasks and promises |
| 399 | export const flushPromises = () => |
| 400 | new Promise((resolve) => setTimeout(resolve, 0)) |
| 401 | |
| 402 | /** |
| 403 | * Utility to suppress expected unhandled rejections in tests. |
no outgoing calls
searching dependent graphs…