From 21dc8c29f1ffd8c6a7c7ab140ebf2302af982ef7 Mon Sep 17 00:00:00 2001 From: boris Date: Tue, 26 Sep 2017 14:39:00 +0300 Subject: [PATCH] Added thumbnail for blank pages Signed-off-by: boris --- consts/pages-backup-data.js | 9 ++++++--- test/test-page-backup.ts | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/consts/pages-backup-data.js b/consts/pages-backup-data.js index e5f4388..2ad53be 100644 --- a/consts/pages-backup-data.js +++ b/consts/pages-backup-data.js @@ -10,7 +10,8 @@ BackupData.fallback = [ version: "3.1.4", gitUrl: "https://github.com/NativeScript/nativescript-page-templates/tree/master/blank", templateFlavor: "JavaScript", - type: "Page template" + type: "Page template", + thumbnail: "file-o" }, { name: "tns-page-login", @@ -40,7 +41,8 @@ BackupData.fallback = [ version: "3.1.4", gitUrl: "https://github.com/NativeScript/nativescript-page-templates-ts/tree/master/blank", templateFlavor: "TypeScript", - type: "Page template" + type: "Page template", + thumbnail: "file-o" }, { name: "tns-page-login-ts", @@ -69,7 +71,8 @@ BackupData.fallback = [ version: "3.1.4", gitUrl: "https://github.com/NativeScript/nativescript-page-templates-ng/tree/master/blank", templateFlavor: "Angular & TypeScript", - type: "Page template" + type: "Page template", + thumbnail: "file-o" }, { name: "tns-page-login-ng", diff --git a/test/test-page-backup.ts b/test/test-page-backup.ts index c62dac2..6851ef2 100644 --- a/test/test-page-backup.ts +++ b/test/test-page-backup.ts @@ -21,6 +21,7 @@ describe("Page backup data", () => { expect(item).to.have.property("version"); expect(item).to.have.property("templateFlavor"); expect(item).to.have.property("type"); + expect(item).to.have.property("thumbnail"); }); }); });