Skip to content

Commit

Permalink
TestFix?
Browse files Browse the repository at this point in the history
  • Loading branch information
MBudreviciusBentley committed Nov 12, 2024
1 parent addf543 commit 2f103fc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ describe("DefaultToolUiSettingsProvider", () => {
const toolInformation = UiFramework.frontstages.activeToolInformation;
expect(toolInformation).toBeTruthy();

const newUseLengthValue: DialogItemValue = { value: false };

if (toolInformation) {
const toolUiProvider = toolInformation.toolUiProvider;
expect(toolUiProvider).toBeTruthy();
Expand All @@ -430,7 +432,6 @@ describe("DefaultToolUiSettingsProvider", () => {
value: newLengthValue,
propertyName: lengthDescription.name,
};
const newUseLengthValue: DialogItemValue = { value: false };
const useLengthSyncItem: DialogPropertySyncItem = {
value: newUseLengthValue,
propertyName: useLengthDescription.name,
Expand Down Expand Up @@ -472,7 +473,6 @@ describe("DefaultToolUiSettingsProvider", () => {
expect(textEditor).toBeTruthy();

// simulate sync from tool
const newUseLengthValue: DialogItemValue = { value: false };
const syncItem: DialogPropertySyncItem = {
value: newUseLengthValue,
propertyName: useLengthDescription.name,
Expand Down

0 comments on commit 2f103fc

Please sign in to comment.