mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 04:10:48 +00:00
test: tighten provider env var dynamic assertion
This commit is contained in:
@@ -188,9 +188,8 @@ describe("provider env vars dynamic manifest metadata", () => {
|
||||
source: "external cloud credentials",
|
||||
},
|
||||
]);
|
||||
expect(requireLastMetadataSnapshotCall()[0]).toMatchObject({
|
||||
preferPersisted: false,
|
||||
});
|
||||
const [snapshotOptions] = requireLastMetadataSnapshotCall() as [{ preferPersisted?: boolean }];
|
||||
expect(snapshotOptions.preferPersisted).toBe(false);
|
||||
});
|
||||
|
||||
it("reuses the current compatible metadata snapshot for workspace auth evidence", () => {
|
||||
|
||||
Reference in New Issue
Block a user