Commit 49004a2
committed
fix(test): use Promise.allSettled with retry opts for afterEach cleanup
Ensures both outDir and distDir are cleaned up even if one removal
fails, and adds maxRetries/retryDelay for transient fs errors.1 parent 337f2a7 commit 49004a2
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
| |||
0 commit comments