Add a download button, improve share functionality for custom themes
This commit is contained in:
parent
303ccfa322
commit
6ad64e3f70
10 changed files with 64 additions and 40 deletions
|
@ -47,7 +47,7 @@ Utils.injectJsonDownloadForTests(
|
|||
)
|
||||
|
||||
it("should download the latest version", () => {
|
||||
const state = new UserRelatedState(new LayoutConfig(<any> bookcaseJson, true, "tests"))
|
||||
const state = new UserRelatedState(new LayoutConfig(<any> bookcaseJson, true))
|
||||
const feature = {
|
||||
"type": "Feature",
|
||||
"id": "node/5568693115",
|
||||
|
|
|
@ -145,7 +145,7 @@ describe("FixLegacyTheme", () => {
|
|||
<any> walking_node_theme,
|
||||
"While testing")
|
||||
expect(fixed.errors, "Could not fix the legacy theme").empty
|
||||
const theme = new LayoutConfig(fixed.result, false,"test")
|
||||
const theme = new LayoutConfig(fixed.result, false)
|
||||
expect(theme).not.undefined
|
||||
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue