test(auth): use @/ alias in bind-production types test
bind-production.types.test.ts imported feature.manifest and the sign-in use case with `../` parent paths. Test files import src modules via the `@/` alias per the repo convention — this clears the way for the new no-relative-parent-import-in-tests rule.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { describe, it } from "vitest";
|
||||
import type { ProductionUseCase } from "@repo/core-shared/conformance";
|
||||
import type { AuthManifest } from "../feature.manifest";
|
||||
import type { AuthManifest } from "@/feature.manifest";
|
||||
import type {
|
||||
SignInInput,
|
||||
SignInOutput,
|
||||
} from "../application/use-cases/sign-in.use-case";
|
||||
import { signInUseCase } from "../application/use-cases/sign-in.use-case";
|
||||
} from "@/application/use-cases/sign-in.use-case";
|
||||
import { signInUseCase } from "@/application/use-cases/sign-in.use-case";
|
||||
|
||||
describe("auth.signIn binding slot (type-level)", () => {
|
||||
it("rejects an unwrapped factory", () => {
|
||||
|
||||
Reference in New Issue
Block a user