Skip to content

Commit

Permalink
#119 tests: Fix test after topic change
Browse files Browse the repository at this point in the history
  • Loading branch information
TWilkin committed May 27, 2024
1 parent 68affb4 commit b990d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/api/src/services/SensorStateService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ describe("SensorStateService", () => {
});

test("onBatteryMessage", () => {
const consumer = getConsumer<BatteryMessage>("battery");
const consumer = getConsumer<BatteryMessage>();

const sensor = subject?.sensors.find((sensor) => sensor.name == "HallwayMotionSensor");
expect(sensor?.battery).toBeUndefined();
Expand Down

0 comments on commit b990d18

Please sign in to comment.