feat(api): explain dashboard chargeability by chapter
This commit is contained in:
@@ -646,6 +646,7 @@ describe("dashboard use-cases", () => {
|
||||
}),
|
||||
}),
|
||||
);
|
||||
expect(result.rows).toHaveLength(1);
|
||||
expect(result.top).toHaveLength(1);
|
||||
expect(result.top[0]).toEqual(
|
||||
expect.objectContaining({
|
||||
@@ -778,6 +779,7 @@ describe("dashboard use-cases", () => {
|
||||
watchlistThreshold: 15,
|
||||
});
|
||||
|
||||
expect(result.rows).toHaveLength(1);
|
||||
expect(result.top[0]?.actualChargeability).toBe(0);
|
||||
expect(result.top[0]?.expectedChargeability).toBe(0);
|
||||
expect(result.top[0]).toEqual(
|
||||
|
||||
Reference in New Issue
Block a user