mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
test: wait for msteams monitor startup
This commit is contained in:
@@ -305,7 +305,9 @@ describe("monitorMSTeamsProvider lifecycle", () => {
|
||||
pollStore: createStores().pollStore,
|
||||
});
|
||||
|
||||
await new Promise<void>((resolve) => setTimeout(resolve, 0));
|
||||
await vi.waitFor(() => {
|
||||
expect(expressControl.apps.length).toBeGreaterThan(0);
|
||||
});
|
||||
|
||||
const app = expressControl.apps.at(-1);
|
||||
if (!app) {
|
||||
|
||||
Reference in New Issue
Block a user