Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pm-stack/aggregator/test/conflicts-1282.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ describe("health surface counts the inbox (#1282 slice 1)", () => {
now: NOW,
});
const view = await buildHealth(
{ mode: "fixtures", cfg: loadConfig({}), feed: null, feedFileMtimeMs: null, conflicts: inbox },
{ mode: "fixtures", cfg: loadConfig({ PM_AGG_DEV: "1" }), feed: null, feedFileMtimeMs: null, conflicts: inbox },
{ now: NOW },
);
expect(view.conflicts?.total).toBe(2);
Expand All @@ -196,7 +196,7 @@ describe("health surface counts the inbox (#1282 slice 1)", () => {

test("a health view assembled without the inbox says so instead of inventing zero", async () => {
const view = await buildHealth(
{ mode: "fixtures", cfg: loadConfig({}), feed: null, feedFileMtimeMs: null },
{ mode: "fixtures", cfg: loadConfig({ PM_AGG_DEV: "1" }), feed: null, feedFileMtimeMs: null },
{ now: NOW },
);
expect(view.conflicts).toBeNull();
Expand Down