fix: stabilize async provider test types

This commit is contained in:
Peter Steinberger 2026-04-04 19:38:49 +09:00
parent 87d840e9ee
commit 3f042ed002
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ describe("buildProviderReplayFamilyHooks", () => {
});
});
it("maps google-gemini replay families", () => {
it("maps google-gemini replay families", async () => {
const hooks = buildProviderReplayFamilyHooks({
family: "google-gemini",
});
@ -37,7 +37,7 @@ describe("buildProviderReplayFamilyHooks", () => {
allowSyntheticToolResults: true,
});
const sanitized = hooks.sanitizeReplayHistory?.({
const sanitized = await hooks.sanitizeReplayHistory?.({
provider: "google",
modelApi: "google-generative-ai",
modelId: "gemini-3.1-pro-preview",