refactor(tests): format code for better readability in test files

This commit is contained in:
Abhimanyu Saharan
2026-02-25 03:41:03 +05:30
parent 58db8be117
commit 5b0ddcc7cd
3 changed files with 7 additions and 3 deletions

View File

@@ -60,7 +60,8 @@ vi.mock("@clerk/nextjs", () => {
describe("/approvals auth boundary", () => {
it("renders without ClerkProvider runtime errors when publishable key is a placeholder", () => {
const previousAuthMode = process.env.NEXT_PUBLIC_AUTH_MODE;
const previousPublishableKey = process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY;
const previousPublishableKey =
process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY;
process.env.NEXT_PUBLIC_AUTH_MODE = "local";
process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY = "placeholder";