From d2ff73d29925336aafa1fcb98059e80eca1093ec Mon Sep 17 00:00:00 2001 From: Vito Sansevero Date: Fri, 23 Oct 2026 13:59:23 -0700 Subject: [PATCH] test(system): match the scan scope keys beside the review counters --- tests/browser/workspace-system-sources.spec.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/browser/workspace-system-sources.spec.mjs b/tests/browser/workspace-system-sources.spec.mjs index 6450344a..5fca0dca 100644 --- a/tests/browser/workspace-system-sources.spec.mjs +++ b/tests/browser/workspace-system-sources.spec.mjs @@ -116,7 +116,7 @@ test('Scan changes opens it with that one source ("1 output folder") and starts const id = page.url().split('/').pop(); // The job walks only that source (the count is recorded once the walk has listed it). await expect.poll(async () => (await serverJson(request, `/prompt_manager/jobs/${id}`)).job.scope) - .toEqual({ files: 'new', roots: [1], output_folders: 1 }); + .toMatchObject({ files: 'new', roots: [1], output_folders: 1 }); await expect(page.locator('#workspace-main h1')).toHaveText('Scan for metadata'); });