feat: add clerk auth support with convex (#548)

This commit is contained in:
Aman Varshney
2025-08-29 00:21:08 +05:30
committed by GitHub
parent 8d48ae0359
commit 54bcdf1cbc
153 changed files with 1954 additions and 771 deletions

View File

@@ -265,7 +265,7 @@ describe("Programmatic API - Fast Tests", () => {
await expect(
init("auth-no-db", {
yes: true,
auth: true,
auth: "better-auth",
database: "none",
install: false,
git: false,
@@ -313,7 +313,7 @@ describe("Programmatic API - Fast Tests", () => {
test("creates project with authentication enabled", async () => {
const result = await init("auth-app", {
yes: true,
auth: true,
auth: "better-auth",
database: "sqlite",
orm: "drizzle",
install: false,
@@ -325,7 +325,7 @@ describe("Programmatic API - Fast Tests", () => {
database: "sqlite",
orm: "drizzle",
});
expect(result.projectConfig.auth).toBe(true);
expect(result.projectConfig.auth).toBe("better-auth");
}, 15000);
test("validates reproducible command format", async () => {