Skip to content

Commit

Permalink
Revert "test(core-utils): add extra test for null value in dropdown"
Browse files Browse the repository at this point in the history
This reverts commit 212b79e.
  • Loading branch information
daniel-heppner-ibigroup committed Mar 10, 2023
1 parent 7487bfc commit d0aa4f1
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions packages/core-utils/src/__tests__/query-params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,6 @@ describe("extract-modes", () => {
value: "1"
};

const dropdownModeSettingNullValue: ModeSetting = {
applicableMode: testTransportMode.mode,
key: "test",
label: "test",
options: [{ text: "testOption", value: "1", addTransportMode: mode }],
type: "DROPDOWN",
default: "1"
};

it("determines whether a checkbox setting is extracted correctly", () => {
expect(
extractAdditionalModes([checkboxModeSetting], [testTransportMode])
Expand All @@ -98,14 +89,6 @@ describe("extract-modes", () => {
extractAdditionalModes([dropdownModeSetting], [testTransportMode])
).toEqual([mode]);
});
it("determines whether a dropdown setting is extracted correctly from default value", () => {
expect(
extractAdditionalModes(
[dropdownModeSettingNullValue],
[testTransportMode]
)
).toEqual([mode]);
});
it("determines whether a checkbox setting set to false is ignored", () => {
expect(
extractAdditionalModes(
Expand Down

0 comments on commit d0aa4f1

Please sign in to comment.