Commit 1047069
Fix failing test by handling async operations properly
Wrap the widget test in runAsync() to properly handle the pending Timer created by Process.run calls in FlatpakService.loadApps(). The test now waits for async operations to complete before finishing, preventing the "Timer is still pending" error.
Co-authored-by: jwinarske <[email protected]>1 parent 2df18b6 commit 1047069
1 file changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
11 | 22 | | |
12 | 23 | | |
13 | 24 | | |
| |||
0 commit comments