chore: Refactor SearchHelper internals
This commit is contained in:
@@ -194,6 +194,9 @@ describe("#searchForUser", () => {
|
||||
|
||||
test("should search only drafts created by user", async () => {
|
||||
const user = await buildUser();
|
||||
await buildDraftDocument({
|
||||
title: "test",
|
||||
});
|
||||
await buildDraftDocument({
|
||||
teamId: user.teamId,
|
||||
userId: user.id,
|
||||
|
||||
Reference in New Issue
Block a user