fix(gemini): budget-check före bildhämtning så spärr triggars tidigt
This commit is contained in:
@@ -15,6 +15,8 @@ import type {
|
||||
OpsFeedbackBlock,
|
||||
OpsWallBlock,
|
||||
OpsWallTile,
|
||||
OpsAlarm,
|
||||
OpsAlarmBlock,
|
||||
} from "@app/shared-types";
|
||||
import { SUBSCRIPTION_PLANS, type SubscriptionPlan } from "@app/shared-types";
|
||||
import type { Database } from "./client.js";
|
||||
|
||||
@@ -139,13 +139,14 @@ describe("buildWall", () => {
|
||||
expect(brott.tone).toBe("warn");
|
||||
});
|
||||
|
||||
it("alla sex tiles finns i rätt ordning", () => {
|
||||
it("alla sju tiles finns i rätt ordning", () => {
|
||||
const tiles = buildWall(baseSummary()).boards[0]!.tiles;
|
||||
expect(tiles.map((t) => t.label)).toEqual([
|
||||
"MRR",
|
||||
"Aktiva nu",
|
||||
"Betalande",
|
||||
"Trial-konv",
|
||||
"AI-budget",
|
||||
"Workers",
|
||||
"Allergen-brott",
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user