From f9a0d08dab4de492ce2d896f9ac30a2ec6bb04a8 Mon Sep 17 00:00:00 2001 From: SJCoetz Date: Fri, 31 Jul 2026 00:01:24 +0200 Subject: [PATCH] fix(tests): mock scaffold destructure + collection-pool + pocketbase startup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - orders-service.test.ts: destructure capture-group bug on regex match (was assigning m[0] to 'field', so filter clauses never matched). Two pre-seed tests were masked by the bug. - quotes-service.test.ts: createQuoteFromEmail now returns 0 attachments; the n8n flow uploads them in a follow-up step. Update the assertion that still expected the old embedded-base64 count. - collection-pool/page.test.tsx: tests assume ONE supplier group with multiple rows; supply that shape and scope the selectors. Also wait for data load in the chevron test and gather list items across all