Skip to content

Commit fd24c64

Browse files
committed
Fix tests tsc errors
1 parent 4210d8a commit fd24c64

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Diff for: tests/app/tests/ns-location-strategy.ts

+20
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,26 @@ class FakeFrame extends View implements Frame {
2424
constructor(private backCB?: () => void) {
2525
super();
2626
}
27+
28+
public navigationQueueIsEmpty(): boolean {
29+
throw new Error("I am a FakeFrame");
30+
}
31+
32+
public get navigationBarHeight(): number {
33+
throw new Error("I am a FakeFrame");
34+
}
35+
36+
public _processNavigationQueue(page: Page) {
37+
throw new Error("I am a FakeFrame");
38+
}
39+
40+
public _updateActionBar(page?: Page){
41+
throw new Error("I am a FakeFrame");
42+
}
43+
44+
public _getNavBarVisible(page: Page): boolean {
45+
throw new Error("I am a FakeFrame");
46+
}
2747
}
2848

2949
function initStrategy(back?: () => void): NSLocationStrategy {

0 commit comments

Comments
 (0)