@@ -196,42 +196,42 @@ describe('TypeOrValueSpecifier', () => {
196
196
] ,
197
197
[
198
198
'interface Foo {prop: string}; type Test = Foo;' ,
199
- { from : 'file' , name : 'Foo' , path : 'file.ts' } ,
199
+ { from : 'file' , name : 'Foo' , path : 'tests/fixtures/ file.ts' } ,
200
200
] ,
201
201
[
202
202
'type Foo = {prop: string}; type Test = Foo;' ,
203
- { from : 'file' , name : 'Foo' , path : 'file.ts' } ,
203
+ { from : 'file' , name : 'Foo' , path : 'tests/fixtures/ file.ts' } ,
204
204
] ,
205
205
[
206
206
'interface Foo {prop: string}; type Test = Foo;' ,
207
207
{
208
208
from : 'file' ,
209
209
name : 'Foo' ,
210
- path : '. /////file.ts' ,
210
+ path : 'tests/../tests/fixtures /////file.ts' ,
211
211
} ,
212
212
] ,
213
213
[
214
214
'type Foo = {prop: string}; type Test = Foo;' ,
215
215
{
216
216
from : 'file' ,
217
217
name : 'Foo' ,
218
- path : '. /////file.ts' ,
218
+ path : 'tests/../tests/fixtures /////file.ts' ,
219
219
} ,
220
220
] ,
221
221
[
222
222
'interface Foo {prop: string}; type Test = Foo;' ,
223
223
{
224
224
from : 'file' ,
225
225
name : [ 'Foo' , 'Bar' ] ,
226
- path : 'file.ts' ,
226
+ path : 'tests/fixtures/ file.ts' ,
227
227
} ,
228
228
] ,
229
229
[
230
230
'type Foo = {prop: string}; type Test = Foo;' ,
231
231
{
232
232
from : 'file' ,
233
233
name : [ 'Foo' , 'Bar' ] ,
234
- path : 'file.ts' ,
234
+ path : 'tests/fixtures/ file.ts' ,
235
235
} ,
236
236
] ,
237
237
] ) ( 'matches a matching file specifier: %s' , runTestPositive ) ;
@@ -247,14 +247,14 @@ describe('TypeOrValueSpecifier', () => {
247
247
] ,
248
248
[
249
249
'interface Foo {prop: string}; type Test = Foo;' ,
250
- { from : 'file' , name : 'Foo' , path : 'wrong-file.ts' } ,
250
+ { from : 'file' , name : 'Foo' , path : 'tests/fixtures/ wrong-file.ts' } ,
251
251
] ,
252
252
[
253
253
'interface Foo {prop: string}; type Test = Foo;' ,
254
254
{
255
255
from : 'file' ,
256
256
name : [ 'Foo' , 'Bar' ] ,
257
- path : 'wrong-file.ts' ,
257
+ path : 'tests/fixtures/ wrong-file.ts' ,
258
258
} ,
259
259
] ,
260
260
] ) ( "doesn't match a mismatched file specifier: %s" , runTestNegative ) ;
@@ -399,14 +399,14 @@ describe('TypeOrValueSpecifier', () => {
399
399
[ 'type Test = RegExp;' , { from : 'file' , name : [ 'RegExp' , 'BigInt' ] } ] ,
400
400
[
401
401
'type Test = RegExp;' ,
402
- { from : 'file' , name : 'RegExp' , path : 'file.ts' } ,
402
+ { from : 'file' , name : 'RegExp' , path : 'tests/fixtures/ file.ts' } ,
403
403
] ,
404
404
[
405
405
'type Test = RegExp;' ,
406
406
{
407
407
from : 'file' ,
408
408
name : [ 'RegExp' , 'BigInt' ] ,
409
- path : 'file.ts' ,
409
+ path : 'tests/fixtures/ file.ts' ,
410
410
} ,
411
411
] ,
412
412
[
0 commit comments