style: format

This commit is contained in:
Peter Steinberger
2026-01-09 00:31:24 +01:00
parent 71309c064a
commit 4e92ccc0dd
13 changed files with 66 additions and 50 deletions

View File

@@ -39,17 +39,17 @@ describe("provider activity", () => {
direction: "inbound",
at: 2,
});
expect(getProviderActivity({ provider: "whatsapp", accountId: "a" })).toEqual(
{
inboundAt: 1,
outboundAt: null,
},
);
expect(getProviderActivity({ provider: "whatsapp", accountId: "b" })).toEqual(
{
inboundAt: 2,
outboundAt: null,
},
);
expect(
getProviderActivity({ provider: "whatsapp", accountId: "a" }),
).toEqual({
inboundAt: 1,
outboundAt: null,
});
expect(
getProviderActivity({ provider: "whatsapp", accountId: "b" }),
).toEqual({
inboundAt: 2,
outboundAt: null,
});
});
});

View File

@@ -50,4 +50,3 @@ export function getProviderActivity(params: {
export function resetProviderActivityForTest() {
activity.clear();
}

View File

@@ -343,4 +343,3 @@ export function collectProvidersStatusIssues(
return issues;
}