chore: next big god module down

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-05-01 10:47:25 +02:00
parent 13a86e92bd
commit 5a464920de
10 changed files with 1656 additions and 1537 deletions

View File

@@ -1072,7 +1072,7 @@ defmodule BDS.Desktop.ShellLiveTest do
parent = self()
:ok = BDS.Tasks.clear_finished()
{:ok, _task} =
{:ok, task} =
BDS.Tasks.submit_task(
"Metadata Diff",
fn report ->
@@ -1149,7 +1149,10 @@ defmodule BDS.Desktop.ShellLiveTest do
assert html =~ "35%"
assert html =~ ~s(task-status-running)
worker_ref = Process.monitor(worker_pid)
send(worker_pid, :finish)
assert_receive {:DOWN, ^worker_ref, :process, _, _}, 1_000
completed_task!(task.id)
send(view.pid, :refresh_task_status)
html = render(view)