mirror of
https://github.com/pgsty/minio.git
synced 2026-08-07 08:11:13 +03:00
Browser: Update UI with new components and elements (#5671)
This commit is contained in:
@@ -23,7 +23,7 @@ describe("AboutModal", () => {
|
||||
version: "test",
|
||||
memory: "test",
|
||||
platform: "test",
|
||||
runtime: "test"
|
||||
runtime: "test",
|
||||
}
|
||||
|
||||
it("should render without crashing", () => {
|
||||
@@ -33,7 +33,7 @@ describe("AboutModal", () => {
|
||||
it("should call hideAbout when close button is clicked", () => {
|
||||
const hideAbout = jest.fn()
|
||||
const wrapper = shallow(
|
||||
<AboutModal serverInfo={serverInfo} hideAbout={hideAbout} />
|
||||
<AboutModal serverInfo={serverInfo} hideAbout={hideAbout} />,
|
||||
)
|
||||
wrapper.find("button").simulate("click")
|
||||
expect(hideAbout).toHaveBeenCalled()
|
||||
|
||||
Reference in New Issue
Block a user