Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mdvanes committed May 11, 2024
1 parent e1e8d8f commit 16a41a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/server/src/energyusage/energyusage.controller.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ describe("EnergyUsage Controller", () => {
json: () => Promise.resolve(mockWaterResponse),
} as CancelableRequest<Response>);

const response = await controller.getWater(mockAuthenticatedRequest);
const response = await controller.getWater(
mockAuthenticatedRequest,
"day"
);
expect(response).toEqual([
[
{
Expand Down

0 comments on commit 16a41a7

Please sign in to comment.