fix: resolve all lint errors across source and test files
- Fix unused function parameters (prefix with _) - Fix unused imports in test files - Fix import ordering in test files - Auto-fix formatting issues across 22 files Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -12,7 +12,7 @@ import {
|
||||
getSetupWithItems,
|
||||
updateSetup,
|
||||
} from "../../src/server/services/setup.service.ts";
|
||||
import { createSecondTestUser, createTestDb } from "../helpers/db.ts";
|
||||
import { createTestDb } from "../helpers/db.ts";
|
||||
|
||||
type Db = Awaited<ReturnType<typeof createTestDb>>["db"];
|
||||
|
||||
@@ -72,11 +72,11 @@ describe("Profile Service", () => {
|
||||
|
||||
it("returns only public setups, not private ones", async () => {
|
||||
// Create one public and one private setup
|
||||
const pub = await createSetup(db, userId, {
|
||||
const _pub = await createSetup(db, userId, {
|
||||
name: "Public Setup",
|
||||
isPublic: true,
|
||||
});
|
||||
const priv = await createSetup(db, userId, { name: "Private Setup" });
|
||||
const _priv = await createSetup(db, userId, { name: "Private Setup" });
|
||||
|
||||
const profile = await getPublicProfile(db, userId);
|
||||
expect(profile).not.toBeNull();
|
||||
|
||||
Reference in New Issue
Block a user