Simplify test case

parent fb032e62
......@@ -76,9 +76,7 @@ describe('DropdownInput component', () => {
});
it('does not render the description', () => {
const description = findDescription();
expect(description.exists()).toBe(false);
expect(findDescription().exists()).toBe(false);
});
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment