Browser: Update UI with new components and elements (#5671)

This commit is contained in:
Rushan
2018-03-21 23:39:23 +05:30
committed by Harshavardhana
parent 384b4fdf28
commit 1459c4be1e
199 changed files with 10549 additions and 4702 deletions
@@ -29,10 +29,10 @@ describe("AbortConfirmModal", () => {
<AbortConfirmModal
uploads={{
"a-b/-test1": { size: 100, loaded: 50, name: "test1" },
"a-b/-test2": { size: 100, loaded: 50, name: "test2" }
"a-b/-test2": { size: 100, loaded: 50, name: "test2" },
}}
abort={abort}
/>
/>,
)
wrapper.instance().abortUploads()
expect(abort.mock.calls.length).toBe(2)