mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-29 09:41:08 +00:00
fix(ci): await async provider test registration
This commit is contained in:
@@ -3,8 +3,8 @@ import { registerSingleProviderPlugin } from "../../test/helpers/plugins/plugin-
|
||||
import plugin from "./index.js";
|
||||
|
||||
describe("xai provider plugin", () => {
|
||||
it("owns replay policy for xAI OpenAI-compatible transports", () => {
|
||||
const provider = registerSingleProviderPlugin(plugin);
|
||||
it("owns replay policy for xAI OpenAI-compatible transports", async () => {
|
||||
const provider = await registerSingleProviderPlugin(plugin);
|
||||
|
||||
expect(
|
||||
provider.buildReplayPolicy?.({
|
||||
|
||||
Reference in New Issue
Block a user