chore: bump bs with new extension api (#8042)

This commit is contained in:
Saul-Mirone
2024-09-02 10:32:22 +00:00
parent 61e37d8873
commit 56f4634c1f
90 changed files with 1300 additions and 988 deletions
-19
View File
@@ -24,25 +24,6 @@ vi.mock('@blocksuite/presets', () => ({
EdgelessAIChatBlockSpec: {},
}));
vi.mock('@blocksuite/presets/ai', () => ({
AIProvider: {
slots: new Proxy(
{},
{
get: () => ({
on: vi.fn(),
}),
}
),
provide: vi.fn(),
},
AIEdgelessRootBlockSpec: {},
AICodeBlockSpec: {},
AIImageBlockSpec: {},
AIParagraphBlockSpec: {},
AIPageRootBlockSpec: {},
}));
if (typeof window !== 'undefined' && HTMLCanvasElement) {
// @ts-expect-error
HTMLCanvasElement.prototype.getContext = () => {