From aeeb4b72c102b2e23c5742452ae41166e108df24 Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Sat, 24 Oct 2026 08:12:07 +0800 Subject: [PATCH] test(javascript): preserve authenticated filesystem coverage facts --- tests/boundary/filesystem/javascriptDirectoryCoverage.test.ts | 4 +++- .../filesystem/javascriptExportContainerCoverage.test.ts | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/boundary/filesystem/javascriptDirectoryCoverage.test.ts b/tests/boundary/filesystem/javascriptDirectoryCoverage.test.ts index 97196faac5..8836d155ef 100644 --- a/tests/boundary/filesystem/javascriptDirectoryCoverage.test.ts +++ b/tests/boundary/filesystem/javascriptDirectoryCoverage.test.ts @@ -135,7 +135,9 @@ it.skipIf(process.platform === "win32" || process.getuid?.() === 0)( expect.objectContaining({ properties: expect.objectContaining({ content_available: false }), evidence: expect.objectContaining({ - operation: "inventory-unavailable-entry", + extractor: expect.objectContaining({ + operation: "inventory-unavailable-entry", + }), }), }), ], diff --git a/tests/boundary/filesystem/javascriptExportContainerCoverage.test.ts b/tests/boundary/filesystem/javascriptExportContainerCoverage.test.ts index 8dbb42b1d6..d570c48fe1 100644 --- a/tests/boundary/filesystem/javascriptExportContainerCoverage.test.ts +++ b/tests/boundary/filesystem/javascriptExportContainerCoverage.test.ts @@ -44,7 +44,8 @@ describe("JavaScript export container coverage through authenticated Evidence", before: "", after: ", options: { nested: {} }", paths: ["/options", "/options/nested"], - addedPaths: ["/options"], + // Complete root coverage proves the absent ancestor and its descendants. + addedPaths: ["/options", "/options/nested"], }, { name: "escaped property keys",