chore: rename app.ts to bootstrap.ts on api-v2 (#26604)
This commit is contained in:
1 parent
b6c243f1dd
commit
56b29b5df6
85 files changed
+149
-146
No files matched your search
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { bootstrap } from "@/app";
|
||||
import { bootstrap } from "@/bootstrap";
|
||||
import { AppModule } from "@/app.module";
|
||||
import { PrismaModule } from "@/modules/prisma/prisma.module";
|
||||
import { TokensModule } from "@/modules/tokens/tokens.module";
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { bootstrap } from "@/app";
|
||||
import { bootstrap } from "@/bootstrap";
|
||||
import { AppModule } from "@/app.module";
|
||||
import { HOSTS_REQUIRED_WHEN_SWITCHING_SCHEDULING_TYPE_ERROR } from "@/modules/organizations/event-types/services/input.service";
|
||||
import { PrismaModule } from "@/modules/prisma/prisma.module";
|
||||
|
||||
+4
-2
@@ -1,4 +1,4 @@
|
||||
import { bootstrap } from "@/app";
|
||||
import { bootstrap } from "@/bootstrap";
|
||||
import { AppModule } from "@/app.module";
|
||||
import { PrismaModule } from "@/modules/prisma/prisma.module";
|
||||
import { CreateTeamMembershipInput } from "@/modules/teams/memberships/inputs/create-team-membership.input";
|
||||
@@ -334,7 +334,9 @@ describe("Teams Memberships Endpoints", () => {
|
||||
const collectiveEventBeforePatch = teamEventTypesBeforePatch?.find(
|
||||
(eventType) => eventType.slug === teamEventType.slug
|
||||
);
|
||||
const userHostBeforePatch = collectiveEventBeforePatch?.hosts.find((host) => host.userId === pendingUser.id);
|
||||
const userHostBeforePatch = collectiveEventBeforePatch?.hosts.find(
|
||||
(host) => host.userId === pendingUser.id
|
||||
);
|
||||
expect(userHostBeforePatch).toBeFalsy();
|
||||
|
||||
const updateToAcceptedBody: UpdateTeamMembershipInput = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { bootstrap } from "@/app";
|
||||
import { bootstrap } from "@/bootstrap";
|
||||
import { AppModule } from "@/app.module";
|
||||
import { PrismaModule } from "@/modules/prisma/prisma.module";
|
||||
import { TokensModule } from "@/modules/tokens/tokens.module";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { bootstrap } from "@/app";
|
||||
import { bootstrap } from "@/bootstrap";
|
||||
import { AppModule } from "@/app.module";
|
||||
import { StripeService } from "@/modules/stripe/stripe.service";
|
||||
import { CreateTeamInput } from "@/modules/teams/teams/inputs/create-team.input";
|
||||
@@ -47,7 +47,7 @@ describe("Teams endpoint", () => {
|
||||
imports: [AppModule, TeamsModule],
|
||||
}).compile();
|
||||
|
||||
jest.spyOn(StripeService.prototype, "getStripe").mockImplementation(() => ({} as unknown as Stripe));
|
||||
jest.spyOn(StripeService.prototype, "getStripe").mockImplementation(() => ({}) as unknown as Stripe);
|
||||
|
||||
userRepositoryFixture = new UserRepositoryFixture(moduleRef);
|
||||
teamRepositoryFixture = new TeamRepositoryFixture(moduleRef);
|
||||
|
||||
Reference in new issue
Block a user