feat: define workspace evidence descriptor contract
This commit is contained in:
@@ -26,6 +26,7 @@ test("migrates the current local PSD descriptor without copying secret values",
|
||||
const result = migrateLegacyWorkspace(readFixture("local.yaml"), { id: "local", collection: "local" });
|
||||
|
||||
expect(result.workspace.workspace).toMatchObject({ id: "local", schema_version: 3, language: "it" });
|
||||
expect(result.workspace).not.toHaveProperty("evidence");
|
||||
expect(JSON.stringify(result)).not.toMatch(/password:|api_key:|\$\{THT_/i);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user