Skip to content

Commit cc7a556

Browse files
committed
Refactor ensureActiveTargetTypeNameInKnownTargets access in manage-solution-controller tests
1 parent bbec7c3 commit cc7a556

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/views/manage-solution/manage-solution-controller.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ describe('manage-solution-controller', () => {
161161
await controller.loadSolution('test-resources/solutions/solution-with-debuggers.csolution');
162162

163163
controller.activeTargetTypeName = 'invalid-target';
164-
const updated = await (controller as any).ensureActiveTargetTypeNameInKnownTargets([]);
164+
const updated = await controller['ensureActiveTargetTypeNameInKnownTargets']([]);
165165

166166
expect(updated).toBe(true);
167167
expect(controller.cmsisJsonFile.activeTargetTypeName).toBeUndefined();

0 commit comments

Comments
 (0)