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

View File

@@ -31,7 +31,7 @@ describe("App", () => {
const wrapper = mount(
<MemoryRouter initialEntries={["/login"]}>
<App />
</MemoryRouter>
</MemoryRouter>,
)
expect(wrapper.text()).toBe("Login")
})
@@ -40,7 +40,7 @@ describe("App", () => {
const wrapper = mount(
<MemoryRouter initialEntries={["/"]}>
<App />
</MemoryRouter>
</MemoryRouter>,
)
expect(wrapper.text()).toBe("Browser")
})
@@ -49,7 +49,7 @@ describe("App", () => {
const wrapper = mount(
<MemoryRouter initialEntries={["/bucket"]}>
<App />
</MemoryRouter>
</MemoryRouter>,
)
expect(wrapper.text()).toBe("Browser")
})
@@ -58,7 +58,7 @@ describe("App", () => {
const wrapper = mount(
<MemoryRouter initialEntries={["/bucket/a/b/c"]}>
<App />
</MemoryRouter>
</MemoryRouter>,
)
expect(wrapper.text()).toBe("Browser")
})

View File

@@ -21,7 +21,7 @@ describe("jsonrpc", () => {
try {
let jsonRPC = new JSONrpc({
endpoint: "htt://localhost:9000",
namespace: "Test"
namespace: "Test",
})
} catch (e) {
done()
@@ -30,7 +30,7 @@ describe("jsonrpc", () => {
it("should succeed with valid endpoint", () => {
let jsonRPC = new JSONrpc({
endpoint: "http://localhost:9000/webrpc",
namespace: "Test"
namespace: "Test",
})
expect(jsonRPC.version).toEqual("2.0")
expect(jsonRPC.host).toEqual("localhost")