Skip to content

Commit a2e1091

Browse files
committed
fix test
1 parent a690850 commit a2e1091

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tests/unit/helpers/deviceId.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const MockGetDeviceId = vi.mocked(getDeviceId);
1010

1111
describe("Device ID Helper", () => {
1212
let testLogger: CompositeLogger;
13-
let mockGetMachineId: () => Promise<string>;
1413

1514
beforeEach(() => {
1615
vi.clearAllMocks();

tests/unit/resources/common/debug.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { DeviceIdService } from "../../../../src/helpers/deviceId.js";
1010

1111
describe("debug resource", () => {
1212
const logger = new CompositeLogger();
13+
DeviceIdService.init(logger);
1314
const session = new Session({
1415
apiBaseUrl: "",
1516
logger,
@@ -22,7 +23,6 @@ describe("debug resource", () => {
2223

2324
beforeEach(() => {
2425
debugResource = new DebugResource(session, config, telemetry);
25-
DeviceIdService.init(logger);
2626
});
2727

2828
it("should be connected when a connected event happens", () => {

0 commit comments

Comments
 (0)