Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+11
@@ -9,4 +9,15 @@ describe("loadAppData tenant role lookup", () => {
|
||||
expect(source).toContain("getTenantUserType(userInfo.userId, tenantId)");
|
||||
expect(source).not.toContain("getTenantUserType(tenantId, userInfo.userId)");
|
||||
});
|
||||
|
||||
test("builds the shell billing banner from normalized subscription data", () => {
|
||||
const source = readRepoFile("apps/web/app/utils/data/.server/appData.ts");
|
||||
|
||||
expect(source).toContain("billingBanner = buildSubscriptionBannerVM({");
|
||||
expect(source).toContain("status: normalizeBillingSubscriptionStatus(mySubscription?.status");
|
||||
expect(source).toContain("frozenAt: mySubscription?.frozenAt");
|
||||
expect(source).toContain("cancelledAt: mySubscription?.cancelledAt");
|
||||
expect(source).toContain("trialEndsAt: mySubscription?.trialEndsAt");
|
||||
expect(source).toContain("billingBanner,");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user