mirror of
https://github.com/minio/minio.git
synced 2025-11-21 10:16:03 -05:00
revert browser newux changes (#5714)
This commit is contained in:
@@ -28,9 +28,7 @@ describe("Alert", () => {
|
||||
const wrapper = mount(
|
||||
<Alert show={true} type="danger" message="test" onDismiss={onDismiss} />
|
||||
)
|
||||
wrapper.find("i").simulate("click", {
|
||||
preventDefault: jest.fn()
|
||||
})
|
||||
wrapper.find("button").simulate("click", { preventDefault: jest.fn() })
|
||||
expect(onDismiss).toHaveBeenCalled()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user