mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-26 16:06:16 +00:00
fix(ci): await async provider test registration
This commit is contained in:
@@ -11,7 +11,7 @@ import googlePlugin from "./index.js";
|
||||
|
||||
describe("google provider plugin hooks", () => {
|
||||
it("owns replay policy and reasoning mode for the direct Gemini provider", async () => {
|
||||
const { providers } = registerProviderPlugin({
|
||||
const { providers } = await registerProviderPlugin({
|
||||
plugin: googlePlugin,
|
||||
id: "google",
|
||||
name: "Google Provider",
|
||||
@@ -81,8 +81,8 @@ describe("google provider plugin hooks", () => {
|
||||
expect(customEntries[0]?.customType).toBe("google-turn-ordering-bootstrap");
|
||||
});
|
||||
|
||||
it("owns Gemini CLI tool schema normalization", () => {
|
||||
const { providers } = registerProviderPlugin({
|
||||
it("owns Gemini CLI tool schema normalization", async () => {
|
||||
const { providers } = await registerProviderPlugin({
|
||||
plugin: googlePlugin,
|
||||
id: "google",
|
||||
name: "Google Provider",
|
||||
|
||||
Reference in New Issue
Block a user