fix(create): 参考内容 - 支持添加、独立删除与筛选管理
- 支持参考内容按稳定 ID 删除、筛选、清空、拖拽与触屏交互 - 保留 Vite 生产环境模型 Logo 加载并兼容 Bun 测试 - 同步最新 main,修正相关格式和陈旧测试断言 Co-authored-by: echoD886 <dingxiaojie66@gmail.com>
This commit is contained in:
@@ -10,6 +10,8 @@ describe("模型 Logo 选择器", () => {
|
||||
|
||||
expect(source).toContain('import.meta.glob("../../node_modules/@lobehub/icons/es/*/components/Mono.js"');
|
||||
expect(source).not.toContain("import.meta.glob?.(");
|
||||
expect(source).toContain('"Bun" in globalThis');
|
||||
expect(source).not.toContain("typeof import.meta.glob");
|
||||
expect(options.length).toBeGreaterThan(300);
|
||||
expect(options.some((item) => item.id === "OpenAI")).toBe(true);
|
||||
expect(options.some((item) => item.id === "AgnesAI")).toBe(true);
|
||||
|
||||
Reference in New Issue
Block a user