We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b6a22c + 23e34c9 commit c40827dCopy full SHA for c40827d
test-config/mocks-ionic.ts
@@ -77,3 +77,39 @@ export class SplashScreenMock extends SplashScreen {
77
return;
78
}
79
80
+
81
+export class NavMock {
82
83
+ public pop(): any {
84
+ return new Promise(function(resolve: Function): void {
85
+ resolve();
86
+ });
87
+ }
88
89
+ public push(): any {
90
91
92
93
94
95
+ public getActive(): any {
96
+ return {
97
+ 'instance': {
98
+ 'model': 'something',
99
+ },
100
+ };
101
102
103
+ public setRoot(): any {
104
+ return true;
105
106
107
+ public registerChildNav(nav: any): void {
108
+ return ;
109
110
111
+}
112
113
+export class DeepLinkerMock {
114
115
0 commit comments