Skip to content

Commit

Permalink
fix failing unit tests caused by adding a dependency to the currently…
Browse files Browse the repository at this point in the history
… selected task to the InputSelectors component
  • Loading branch information
andrewpixo committed Jul 21, 2023
1 parent 6b84487 commit 0acebed
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import InputSelectors from "./InputSelectors";
import React from "react";
import expect from "expect";
import { SampleInputs } from "../../Experiment/QuickInput/Tabs/SampleInput/SampleInputsTab.test";
import Task from "../../../helpers/Task";

describe("InputSelectors", () => {
let result;
Expand All @@ -22,6 +23,7 @@ describe("InputSelectors", () => {
showAddInputModal={showAddMock}
handleSelect={selectMock}
selectedIndex={0}
task={Task.image_classification}
/>
);
});
Expand Down

0 comments on commit 0acebed

Please sign in to comment.