17579: added better description for the test 17579-Clear-table-filter-when-changing-the-project
authorDaniel Kutyła <daniel.kutyla@contractors.roche.com>
Wed, 15 Dec 2021 21:15:36 +0000 (22:15 +0100)
committerDaniel Kutyła <daniel.kutyla@contractors.roche.com>
Wed, 15 Dec 2021 21:15:36 +0000 (22:15 +0100)
Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

src/components/search-input/search-input.test.tsx

index db05e5d87176842a622f3f857370be6f0699c797..c57d3608b06b470e260ed2ceabf76875290f3019 100644 (file)
@@ -96,7 +96,7 @@ describe("<SearchInput />", () => {
     });
 
     describe("on input target change", () => {
-        it("clears input on target change", () => {
+        it("clears the input value on selfClearProp change", () => {
             const searchInput = mount(<SearchInput selfClearProp="abc" value="123" onSearch={onSearch} debounce={1000}/>);
             searchInput.setProps({ selfClearProp: 'aaa' });
             jest.runTimersToTime(1000);