Skip to content

Commit

Permalink
test: fix test having open handles
Browse files Browse the repository at this point in the history
  • Loading branch information
jvandenaardweg committed Dec 5, 2022
1 parent c76a5ed commit cd18275
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/platform.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { HomebridgeHomeWizardEnergySocket } from "../platform";
import { PLATFORM_NAME } from "../settings";
import { TxtRecord } from "../types";

jest.mock("bonjour-service");

// mock the logger parameter
const loggerMock = {
info: jest.fn(),
Expand Down

0 comments on commit cd18275

Please sign in to comment.