From 5ffd41a461b8c691b5fdea108363db5afe8b0f28 Mon Sep 17 00:00:00 2001 From: sax3l Date: Tue, 29 Sep 2026 13:27:31 +0200 Subject: [PATCH] =?UTF-8?q?fix(lint):=20odoo-bills-adapter=20AUD0-body=20?= =?UTF-8?q?=E2=80=94=20disable=20med=20sk=C3=A4l=20(CI-fynd)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/p0/odoo-bills-adapter.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/p0/odoo-bills-adapter.test.ts b/tests/p0/odoo-bills-adapter.test.ts index db784fe..f61429f 100644 --- a/tests/p0/odoo-bills-adapter.test.ts +++ b/tests/p0/odoo-bills-adapter.test.ts @@ -257,6 +257,7 @@ describe("OdooBillsAdapter — partner resolution wired into write()", () => { it("calls the injected matchPartner when partner_id is absent but vendor_org_nr is present, and forwards the resolved partner_id to Odoo", async () => { const matchPartner = vi.fn(async () => ({ partner_id: 99, partner_name: "Acme AB" })); + // eslint-disable-next-line @typescript-eslint/no-explicit-any -- AUD0-ingest-body är fri nyttolast let capturedBody: any; const fetchMock = vi.fn(async (_url: string, init?: RequestInit) => { capturedBody = JSON.parse(init!.body as string); @@ -278,6 +279,7 @@ describe("OdooBillsAdapter — partner resolution wired into write()", () => { it("posts without a partner_id when no match is found — 'skickar utan partner-koppling'", async () => { const matchPartner = vi.fn(async () => ({})); + // eslint-disable-next-line @typescript-eslint/no-explicit-any -- AUD0-ingest-body är fri nyttolast let capturedBody: any; const fetchMock = vi.fn(async (_url: string, init?: RequestInit) => { capturedBody = JSON.parse(init!.body as string);