Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
This commit is contained in:
DmitriyNoa committed 2022-03-03 18:14:34 +01:00
1 parent 43f1542e37
commit 30f7c1b70e
1 file changed
-4
@@ -105,10 +105,6 @@ describe("<Select />", () => {
rerender(<Select value={options[1].value} onChange={onChange} options={options} />);
expect(container.querySelector(".Select__single-value").textContent).toBe(options[1].label);
rerender(<Select value={null} onChange={onChange} options={options} />);
expect(container.querySelector(".Select__single-value")).not.toBeInTheDocument();
});
it("should unselect value if no value is passed", async () => {