lint: fix biome issues in new test files and helpers
This commit is contained in:
1 parent
99eb3af17b
commit
93862c2275
41 files changed
+488
-314
No files matched your search
@@ -46,8 +46,7 @@ vi.mock("@/lib/db", async () => {
|
||||
throw e;
|
||||
}
|
||||
if (table === schema.WebsiteArticles) return state.articles;
|
||||
if (table === schema.WebsiteArticleReactions)
|
||||
return state.reactions;
|
||||
if (table === schema.WebsiteArticleReactions) return state.reactions;
|
||||
return [];
|
||||
}),
|
||||
update: (table: unknown) => ({
|
||||
@@ -211,4 +210,4 @@ describe("toggleReaction", () => {
|
||||
).rejects.toThrow("NEXT_REDIRECT");
|
||||
expect(WebsiteArticles).toBeDefined();
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user