fix: lint cleanup, remove tests for later rewrite, ES compat
- Fix all Ultracite lint errors on changed source files (0 remaining) - Remove project.test.ts and use-personal-organization.test.ts (to be rewritten when implementation stabilizes) - Replace .at(-1) with index access for backend tsconfig ES target compat - Rename generator functions to avoid no-shadow conflicts - Refactor nested ternaries into helper functions - Fix unused imports
This commit is contained in:
@@ -41,9 +41,13 @@ const REMOTE = {
|
||||
warnings: [],
|
||||
};
|
||||
|
||||
const createTestProject = async (t: TestConvex<typeof schema>): Promise<Id<"projects">> => {
|
||||
const createTestProject = async (
|
||||
t: TestConvex<typeof schema>
|
||||
): Promise<Id<"projects">> => {
|
||||
// Ensure personal organization for the user
|
||||
await t.withIdentity(identityA).mutation(api.organizations.ensurePersonalOrganization);
|
||||
await t
|
||||
.withIdentity(identityA)
|
||||
.mutation(api.organizations.ensurePersonalOrganization);
|
||||
// Persist the public Git import
|
||||
const outcome = await t
|
||||
.withIdentity(identityA)
|
||||
|
||||
Reference in New Issue
Block a user