test(index): stabilize openclaw bootstrap smoke test
This commit is contained in:
+1
-4
@@ -151,9 +151,6 @@ describe("oh-my-openagent plugin module", () => {
|
|||||||
enabled: true,
|
enabled: true,
|
||||||
gateways: {},
|
gateways: {},
|
||||||
hooks: {},
|
hooks: {},
|
||||||
replyListener: {
|
|
||||||
discordBotToken: "discord-token",
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
mockLoadPluginConfig.mockReturnValue({
|
mockLoadPluginConfig.mockReturnValue({
|
||||||
openclaw: openclawConfig,
|
openclaw: openclawConfig,
|
||||||
@@ -182,7 +179,7 @@ describe("oh-my-openagent plugin module", () => {
|
|||||||
|
|
||||||
// then
|
// then
|
||||||
expect(mockInitializeOpenClaw).not.toHaveBeenCalled()
|
expect(mockInitializeOpenClaw).not.toHaveBeenCalled()
|
||||||
})
|
}, { timeout: 15000 })
|
||||||
|
|
||||||
it("exports a V1 PluginModule shape with id and server", () => {
|
it("exports a V1 PluginModule shape with id and server", () => {
|
||||||
// given the plugin module is loaded
|
// given the plugin module is loaded
|
||||||
|
|||||||
Reference in New Issue
Block a user