forked from bai/curriculum-project-hub
feat: let Feishu onboarding create projects in folders
This commit is contained in:
@@ -168,12 +168,15 @@ describe("trigger full lifecycle (integration)", () => {
|
||||
expect(rt.sentCards).toHaveLength(1);
|
||||
expect(rt.sentTexts.at(-1)).toContain("这个飞书群还没有绑定项目");
|
||||
const values = cardActionValues(rt.sentCards[0]);
|
||||
expect(values).toContainEqual({
|
||||
project_onboarding: {
|
||||
expect(values).toEqual(expect.arrayContaining([
|
||||
expect.objectContaining({
|
||||
project_onboarding: expect.objectContaining({
|
||||
action: "create_project_from_chat",
|
||||
organization_id: DEFAULT_ORG_ID,
|
||||
},
|
||||
});
|
||||
folder_id: expect.any(String),
|
||||
}),
|
||||
}),
|
||||
]));
|
||||
expect(runAgentCalls).toHaveLength(0);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user