mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
feat: add new rule for floating promise (#2726)
Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
@@ -28,7 +28,7 @@ describe('crud', () => {
|
||||
});
|
||||
|
||||
test('delete not exist', async () => {
|
||||
expect(async () =>
|
||||
await expect(async () =>
|
||||
CRUD.delete({
|
||||
id: 'not_exist',
|
||||
flavour: WorkspaceFlavour.LOCAL,
|
||||
|
||||
Reference in New Issue
Block a user