mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-24 18:02:47 +08:00
test(core): add missing await for expect (#11900)
This commit is contained in:
@@ -70,7 +70,7 @@ test.describe('AIChatWith/Network', () => {
|
||||
20000
|
||||
);
|
||||
const { message } = await utils.chatPanel.getLatestAssistantMessage(page);
|
||||
expect(await message.locator('affine-footnote-node').count()).toBe(0);
|
||||
await expect(message.locator('affine-footnote-node')).toHaveCount(0);
|
||||
});
|
||||
|
||||
test('should disable network search when chating with image', async ({
|
||||
|
||||
Reference in New Issue
Block a user