mirror of
https://github.com/minio/minio.git
synced 2025-11-21 18:26:04 -05:00
revert browser newux changes (#5714)
This commit is contained in:
@@ -26,11 +26,7 @@ describe("BucketSearch", () => {
|
||||
it("should call onChange with search text", () => {
|
||||
const onChange = jest.fn()
|
||||
const wrapper = shallow(<BucketSearch onChange={onChange} />)
|
||||
wrapper.find("input").simulate("change", {
|
||||
target: {
|
||||
value: "test"
|
||||
}
|
||||
})
|
||||
wrapper.find("input").simulate("change", { target: { value: "test" } })
|
||||
expect(onChange).toHaveBeenCalledWith("test")
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user