@@ -135,19 +135,20 @@ describe("preuninstall", () => {
135
135
assert . isTrue ( isClearInspectorCacheCalled , "When uninstall is called, `clearInspectorCache` method must be called" ) ;
136
136
} ) ;
137
137
138
- it ( "opens the uninstall feedback form when terminal is interactive and uninstall is called" , async ( ) => {
139
- helpers . doesCurrentNpmCommandMatch = ( ) => true ;
140
- helpers . isInteractive = ( ) => true ;
141
-
142
- const testInjector = createTestInjector ( ) ;
143
- const opener = testInjector . resolve < IOpener > ( "opener" ) ;
144
- const openParams : any [ ] = [ ] ;
145
- opener . open = ( filename : string , appname ?: string ) => {
146
- openParams . push ( { filename, appname } ) ;
147
- } ;
148
-
149
- const preUninstallCommand : ICommand = testInjector . resolveCommand ( "dev-preuninstall" ) ;
150
- await preUninstallCommand . execute ( [ ] ) ;
151
- assert . deepEqual ( openParams , [ { filename : "https://www.nativescript.org/uninstall-feedback" , appname : undefined } ] ) ;
152
- } ) ;
138
+ // disabled (6/24/2020)
139
+ // it("opens the uninstall feedback form when terminal is interactive and uninstall is called", async () => {
140
+ // helpers.doesCurrentNpmCommandMatch = () => true;
141
+ // helpers.isInteractive = () => true;
142
+
143
+ // const testInjector = createTestInjector();
144
+ // const opener = testInjector.resolve<IOpener>("opener");
145
+ // const openParams: any[] = [];
146
+ // opener.open = (filename: string, appname?: string) => {
147
+ // openParams.push({ filename, appname });
148
+ // };
149
+
150
+ // const preUninstallCommand: ICommand = testInjector.resolveCommand("dev-preuninstall");
151
+ // await preUninstallCommand.execute([]);
152
+ // assert.deepEqual(openParams, [{ filename: "https://www.nativescript.org/uninstall-feedback", appname: undefined }]);
153
+ // });
153
154
} ) ;
0 commit comments