@@ -42,10 +42,10 @@ describe('transformer - typescript', () => {
42
42
expect ( preprocessed . toString ( ) ) . toContain ( EXPECTED_SCRIPT )
43
43
} )
44
44
45
- it ( 'should work with tsconfigPath ' , async ( ) => {
45
+ it ( 'should work with tsconfigFile ' , async ( ) => {
46
46
const opts = getAutoPreprocess ( {
47
47
typescript : {
48
- tsconfigPath : './test/fixtures/tsconfig.json' ,
48
+ tsconfigFile : './test/fixtures/tsconfig.json' ,
49
49
} ,
50
50
} )
51
51
const preprocessed = await preprocess ( template , opts )
@@ -55,7 +55,7 @@ describe('transformer - typescript', () => {
55
55
it ( 'should report config syntactic errors in tsconfig file' , ( ) => {
56
56
const opts = getAutoPreprocess ( {
57
57
typescript : {
58
- tsconfigPath : './test/fixtures/tsconfig.syntactic.json' ,
58
+ tsconfigFile : './test/fixtures/tsconfig.syntactic.json' ,
59
59
} ,
60
60
} )
61
61
return expect ( preprocess ( template , opts ) ) . rejects . toThrow ( 'TS1005' )
@@ -64,7 +64,7 @@ describe('transformer - typescript', () => {
64
64
it ( 'should report config semantic errors in tsconfig file' , ( ) => {
65
65
const opts = getAutoPreprocess ( {
66
66
typescript : {
67
- tsconfigPath : './test/fixtures/tsconfig.semantic.json' ,
67
+ tsconfigFile : './test/fixtures/tsconfig.semantic.json' ,
68
68
} ,
69
69
} )
70
70
return expect ( preprocess ( template , opts ) ) . rejects . toThrow ( 'TS6046' )
0 commit comments