fix: correct flushFileReader helper to avoid infinite recursion

Co-authored-by: hyoban <38493346+hyoban@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-02-04 13:25:25 +00:00
parent 34d7f8eceb
commit c257721f10

View File

@ -153,7 +153,7 @@ describe('UpdateDSLModal', () => {
// Helper function to flush FileReader microtasks
const flushFileReader = async () => {
await flushFileReader()
await new Promise<void>(resolve => queueMicrotask(resolve))
}
beforeEach(() => {