feat: add async suffix eslint rule (#485)
This commit is contained in:
1 parent
5723295856
commit
dcaff1d91c
60 files changed
+296
-225
No files matched your search
@@ -183,9 +183,9 @@ describe("delete should remove invite by id", () => {
|
||||
});
|
||||
|
||||
// Act
|
||||
const act = async () => await caller.deleteInvite({ id: createId() });
|
||||
const actAsync = async () => await caller.deleteInvite({ id: createId() });
|
||||
|
||||
// Assert
|
||||
await expect(act()).rejects.toThrow("not found");
|
||||
await expect(actAsync()).rejects.toThrow("not found");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user