@@ -883,23 +883,23 @@ suite('`Full` Auto Indent On Type - TypeScript/JavaScript', () => {
883
883
} ) ;
884
884
} ) ;
885
885
886
- test . skip ( 'issue #43244: indent when lambda arrow function is detected, outdent when end is reached' , ( ) => {
886
+ test ( 'issue #43244: indent when lambda arrow function is detected, outdent when end is reached' , ( ) => {
887
887
888
888
// https://github.com/microsoft/vscode/issues/43244
889
889
890
890
const model = createTextModel ( [
891
891
'const array = [1, 2, 3, 4, 5];' ,
892
- 'array.map(v => )'
892
+ 'array.map(_ )'
893
893
] . join ( '\n' ) , languageId , { } ) ;
894
894
disposables . add ( model ) ;
895
895
896
896
withTestCodeEditor ( model , { autoIndent : "full" } , ( editor , viewModel , instantiationService ) => {
897
897
registerLanguage ( instantiationService , languageId , Language . TypeScript , disposables ) ;
898
- editor . setSelection ( new Selection ( 2 , 15 , 2 , 15 ) ) ;
898
+ editor . setSelection ( new Selection ( 2 , 12 , 2 , 12 ) ) ;
899
899
viewModel . type ( "\n" , 'keyboard' ) ;
900
900
assert . strictEqual ( model . getValue ( ) , [
901
901
'const array = [1, 2, 3, 4, 5];' ,
902
- 'array.map(v => ' ,
902
+ 'array.map(_ ' ,
903
903
' ' ,
904
904
')'
905
905
] . join ( '\n' ) ) ;
0 commit comments