chore: Refactor SearchHelper internals

This commit is contained in:
Tom Moor
2023-01-02 20:14:46 -05:00
parent 435969cf4b
commit 6efcf1c1a8
2 changed files with 20 additions and 23 deletions

View File

@@ -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,