test(plugins): align unreadable manifest traversal failure code

This commit is contained in:
Vincent Koc
2026-04-15 12:10:24 +01:00
parent b855b1d047
commit bb4498cef7

View File

@@ -1355,8 +1355,8 @@ describe("installPluginFromArchive", () => {
expect(result.ok).toBe(false);
if (!result.ok) {
expect(result.code).toBe(PLUGIN_INSTALL_ERROR_CODE.SECURITY_SCAN_BLOCKED);
expect(result.error).toContain("plain-crypto-js");
expect(result.code).toBe(PLUGIN_INSTALL_ERROR_CODE.SECURITY_SCAN_FAILED);
expect(result.error).toContain("manifest dependency scan could not read");
expect(result.error).toContain("vendor/sealed");
}
} finally {