@@ -15,18 +15,6 @@ namespace ts {
15
15
"compilerOptions": {
16
16
"strictNullChecks": false
17
17
}
18
- }` ,
19
- "/dev/tsconfig.tests.json" : `{
20
- "extends": ["./configs/tests", "./tsconfig"],
21
- "compilerOptions": {
22
- "module": "commonjs"
23
- }
24
- }` ,
25
- "/dev/tsconfig.tests.browser.json" : `{
26
- "extends": ["./configs/tests", "./tsconfig"],
27
- "compilerOptions": {
28
- "module": "amd"
29
- }
30
18
}` ,
31
19
"/dev/configs/base.json" : `{
32
20
"compilerOptions": {
@@ -75,12 +63,6 @@ namespace ts {
75
63
}` ,
76
64
"/dev/failure2.json" : `{
77
65
"excludes": ["*.js"]
78
- }` ,
79
- "/dev/multi.json" : `{
80
- "extends": ["./configs/first", "./configs/second"],
81
- "compilerOptions": {
82
- "allowJs": false
83
- }
84
66
}` ,
85
67
"/dev/configs/first.json" : `{
86
68
"extends": "./base",
@@ -168,31 +150,6 @@ namespace ts {
168
150
combinePaths ( basePath , "supplemental.ts" ) ,
169
151
] ) ;
170
152
171
- testSuccess ( "can resolve an extension with a multiple base extensions that overrides options" , "tsconfig.tests.json" , {
172
- allowJs : true ,
173
- noImplicitAny : true ,
174
- strictNullChecks : true ,
175
- preserveConstEnums : true ,
176
- removeComments : false ,
177
- sourceMap : true ,
178
- module : ts . ModuleKind . CommonJS ,
179
- } , [
180
- combinePaths ( basePath , "main.ts" ) ,
181
- combinePaths ( basePath , "supplemental.ts" ) ,
182
- combinePaths ( basePath , "tests/unit/spec.ts" ) ,
183
- combinePaths ( basePath , "tests/utils.ts" ) ,
184
- ] ) ;
185
-
186
- testSuccess ( "can resolve a diamond dependency graph" , "multi.json" , {
187
- allowJs : false ,
188
- noImplicitAny : true ,
189
- strictNullChecks : true ,
190
- module : ts . ModuleKind . AMD ,
191
- } , [
192
- combinePaths ( basePath , "configs/../main.ts" ) , // Probably should consider resolving these kinds of paths when they appear
193
- combinePaths ( basePath , "supplemental.ts" ) ,
194
- ] ) ;
195
-
196
153
testFailure ( "can report errors on circular imports" , "circular.json" , [
197
154
{
198
155
code : 18000 ,
@@ -213,10 +170,10 @@ namespace ts {
213
170
messageText : `Unknown option 'excludes'. Did you mean 'exclude'?`
214
171
} ] ) ;
215
172
216
- testFailure ( "can error when 'extends' is neither a string nor a string[] " , "extends.json" , [ {
173
+ testFailure ( "can error when 'extends' is not a string" , "extends.json" , [ {
217
174
code : 5024 ,
218
175
category : DiagnosticCategory . Error ,
219
- messageText : `Compiler option 'extends' requires a value of type string or string[] .`
176
+ messageText : `Compiler option 'extends' requires a value of type string.`
220
177
} ] ) ;
221
178
222
179
testFailure ( "can error when 'extends' is neither relative nor rooted." , "extends2.json" , [ {
0 commit comments