Skip to content

Commit d0d7347

Browse files
Update tsserver baseline tests
1 parent 327c06d commit d0d7347

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10524,6 +10524,7 @@ declare namespace ts {
1052410524
readonly insertSpaceBeforeTypeAnnotation?: boolean;
1052510525
readonly indentMultiLineObjectLiteralBeginningOnBlankLine?: boolean;
1052610526
readonly semicolons?: SemicolonPreference;
10527+
readonly indentSwitchCase?: boolean;
1052710528
}
1052810529
interface DefinitionInfo extends DocumentSpan {
1052910530
kind: ScriptElementKind;

tests/baselines/reference/api/typescript.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6594,6 +6594,7 @@ declare namespace ts {
65946594
readonly insertSpaceBeforeTypeAnnotation?: boolean;
65956595
readonly indentMultiLineObjectLiteralBeginningOnBlankLine?: boolean;
65966596
readonly semicolons?: SemicolonPreference;
6597+
readonly indentSwitchCase?: boolean;
65976598
}
65986599
interface DefinitionInfo extends DocumentSpan {
65996600
kind: ScriptElementKind;

tests/baselines/reference/tsserver/formatSettings/works-when-extends-is-specified-with-a-case-insensitive-file-system.js

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ Info seq [hh:mm:ss:mss] request:
7676
"placeOpenBraceOnNewLineForFunctions": false,
7777
"placeOpenBraceOnNewLineForControlBlocks": true,
7878
"semicolons": "ignore",
79-
"trimTrailingWhitespace": true
79+
"trimTrailingWhitespace": true,
80+
"indentSwitchCase": true
8081
}
8182
},
8283
"seq": 2,
@@ -112,7 +113,8 @@ FormatCodeOptions should be global:: /a/b/app.ts:: {
112113
"placeOpenBraceOnNewLineForFunctions": false,
113114
"placeOpenBraceOnNewLineForControlBlocks": true,
114115
"semicolons": "ignore",
115-
"trimTrailingWhitespace": true
116+
"trimTrailingWhitespace": true,
117+
"indentSwitchCase": true
116118
}
117119
Before request
118120

@@ -141,7 +143,8 @@ Info seq [hh:mm:ss:mss] request:
141143
"placeOpenBraceOnNewLineForFunctions": false,
142144
"placeOpenBraceOnNewLineForControlBlocks": false,
143145
"semicolons": "ignore",
144-
"trimTrailingWhitespace": true
146+
"trimTrailingWhitespace": true,
147+
"indentSwitchCase": true
145148
},
146149
"file": "/a/b/app.ts"
147150
},
@@ -178,7 +181,8 @@ FormatCodeOptions should be per file:: /a/b/app.ts:: {
178181
"placeOpenBraceOnNewLineForFunctions": false,
179182
"placeOpenBraceOnNewLineForControlBlocks": false,
180183
"semicolons": "ignore",
181-
"trimTrailingWhitespace": true
184+
"trimTrailingWhitespace": true,
185+
"indentSwitchCase": true
182186
}
183187
Before request
184188

@@ -207,7 +211,8 @@ Info seq [hh:mm:ss:mss] request:
207211
"placeOpenBraceOnNewLineForFunctions": false,
208212
"placeOpenBraceOnNewLineForControlBlocks": false,
209213
"semicolons": "ignore",
210-
"trimTrailingWhitespace": true
214+
"trimTrailingWhitespace": true,
215+
"indentSwitchCase": true
211216
}
212217
},
213218
"seq": 4,
@@ -243,5 +248,6 @@ FormatCodeOptions should be per file:: /a/b/app.ts:: {
243248
"placeOpenBraceOnNewLineForFunctions": false,
244249
"placeOpenBraceOnNewLineForControlBlocks": false,
245250
"semicolons": "ignore",
246-
"trimTrailingWhitespace": true
251+
"trimTrailingWhitespace": true,
252+
"indentSwitchCase": true
247253
}

0 commit comments

Comments
 (0)