Skip to content

Commit ca858bf

Browse files
fix: tests
1 parent 4d046bc commit ca858bf

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/shared/backend/__tests__/flash.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ describe("Mutation", () => {
441441
expect(mockDfuConnection.write).toHaveBeenCalledWith(
442442
mockDfuConnection.properties.TransferSize,
443443
expect.any(Buffer),
444-
true
444+
undefined
445445
);
446446

447447
const bufferToWrite = mockDfuConnection.write.mock.calls[0]![1];
@@ -801,7 +801,7 @@ describe("Mutation", () => {
801801
expect(mockDfuConnection.write).toHaveBeenCalledWith(
802802
mockDfuConnection.properties.TransferSize,
803803
expect.any(Buffer),
804-
true
804+
undefined
805805
);
806806

807807
const bufferToWrite = mockDfuConnection.write.mock.calls[0]![1];
@@ -863,7 +863,7 @@ describe("Mutation", () => {
863863
expect(mockDfuConnection.write).toHaveBeenCalledWith(
864864
mockDfuConnection.properties.TransferSize,
865865
expect.any(Buffer),
866-
true
866+
undefined
867867
);
868868

869869
const bufferToWrite = mockDfuConnection.write.mock.calls[0]![1];
@@ -931,7 +931,7 @@ describe("Mutation", () => {
931931
expect(mockDfuConnection.write).toHaveBeenCalledWith(
932932
mockDfuConnection.properties.TransferSize,
933933
expect.any(Buffer),
934-
true
934+
undefined
935935
);
936936

937937
const bufferToWrite = mockDfuConnection.write.mock.calls[0]![1];

src/shared/backend/services/flashJobs.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,6 @@ export const updateStageStatus = (
320320
stages: { ...job.stages, [stage]: { ...currentStatus, ...status } },
321321
};
322322

323-
console.log(JSON.stringify(updatedJob));
324323
updateJob(jobId, updatedJob);
325324
};
326325

0 commit comments

Comments
 (0)