File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
src/testRunner/unittests/services Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -355,6 +355,16 @@ function [#|f|](): Promise<void>{
355
355
_testConvertToAsyncFunction ( "convertToAsyncFunction_objectBindingPattern" , `
356
356
function [#|f|](): Promise<void>{
357
357
return fetch('https://typescriptlang.org').then(({ result }) => { console.log(result) });
358
+ }` ) ;
359
+ _testConvertToAsyncFunction ( "convertToAsyncFunction_arrayBindingPatternRename" , `
360
+ function [#|f|](): Promise<void>{
361
+ const result = getResult();
362
+ return fetch('https://typescriptlang.org').then(([result]) => { console.log(result) });
363
+ }` ) ;
364
+ _testConvertToAsyncFunction ( "convertToAsyncFunction_objectBindingPatternRename" , `
365
+ function [#|f|](): Promise<void>{
366
+ const result = getResult();
367
+ return fetch('https://typescriptlang.org').then(({ result }) => { console.log(result) });
358
368
}` ) ;
359
369
_testConvertToAsyncFunction ( "convertToAsyncFunction_basicNoReturnTypeAnnotation" , `
360
370
function [#|f|]() {
You can’t perform that action at this time.
0 commit comments