From fd24c64c64334c0a1f5a55cf0fa73b9b4db68c06 Mon Sep 17 00:00:00 2001 From: Rossen Hristov Date: Wed, 23 Nov 2016 16:36:19 +0200 Subject: [PATCH] Fix tests tsc errors --- tests/app/tests/ns-location-strategy.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tests/app/tests/ns-location-strategy.ts b/tests/app/tests/ns-location-strategy.ts index 116160e4f..430933106 100644 --- a/tests/app/tests/ns-location-strategy.ts +++ b/tests/app/tests/ns-location-strategy.ts @@ -24,6 +24,26 @@ class FakeFrame extends View implements Frame { constructor(private backCB?: () => void) { super(); } + + public navigationQueueIsEmpty(): boolean { + throw new Error("I am a FakeFrame"); + } + + public get navigationBarHeight(): number { + throw new Error("I am a FakeFrame"); + } + + public _processNavigationQueue(page: Page) { + throw new Error("I am a FakeFrame"); + } + + public _updateActionBar(page?: Page){ + throw new Error("I am a FakeFrame"); + } + + public _getNavBarVisible(page: Page): boolean { + throw new Error("I am a FakeFrame"); + } } function initStrategy(back?: () => void): NSLocationStrategy {