ci: trigga på master + formatfix inför Gitea Actions
CI / Typecheck, test & build (push) Failing after 2s
CI / Typecheck, test & build (push) Failing after 2s
This commit is contained in:
@@ -11,7 +11,10 @@ describe("pushOpsSummaryToEoc", () => {
|
||||
beforeAll(async () => {
|
||||
await redis.set(
|
||||
"ops:summary:cache",
|
||||
JSON.stringify({ app: { app: "cibello", generated_at: new Date().toISOString() }, as_of: new Date().toISOString() }),
|
||||
JSON.stringify({
|
||||
app: { app: "cibello", generated_at: new Date().toISOString() },
|
||||
as_of: new Date().toISOString(),
|
||||
}),
|
||||
"EX",
|
||||
60,
|
||||
);
|
||||
@@ -131,7 +134,9 @@ describe("pushOpsSummaryToEoc", () => {
|
||||
}
|
||||
expect(board.tiles.find((t: { label: string }) => t.label === "MRR")?.tone).toBe("good");
|
||||
expect(board.tiles.find((t: { label: string }) => t.label === "Workers")?.tone).toBe("crit");
|
||||
expect(board.tiles.find((t: { label: string }) => t.label === "Allergen-brott")?.tone).toBe("crit");
|
||||
expect(board.tiles.find((t: { label: string }) => t.label === "Allergen-brott")?.tone).toBe(
|
||||
"crit",
|
||||
);
|
||||
} finally {
|
||||
globalThis.fetch = originalFetch;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user