@@ -41,20 +41,25 @@ exports[`cannot compile should throw error with incremental program 1`] = `
4141This is usually the result of a faulty configuration or import. Make sure there is a \` .js\` , \` .json\` or another executable extension available alongside \` test-cannot-compile.d.ts\` ."
4242` ;
4343
44+ exports [` cannot compile should throw error with incremental program 2` ] = ` "Unable to read file: test-cannot-compile.jsx"` ;
45+
4446exports [` cannot compile should throw error with normal program 1` ] = `
4547"Unable to require \` .d.ts\` file for file: test-cannot-compile.d.ts.
4648This is usually the result of a faulty configuration or import. Make sure there is a \` .js\` , \` .json\` or another executable extension available alongside \` test-cannot-compile.d.ts\` ."
4749` ;
4850
49- exports [` jsx preserve should compile tsx file for jsx preserve with incremental program 1` ] = `
51+ exports [` cannot compile should throw error with normal program 2` ] = ` "Unable to read file: test-cannot-compile.jsx"` ;
52+
53+ exports [` jsx preserve should compile tsx file for with incremental program 1` ] = `
5054 ===[ FILE: test-jsx-preserve.tsx ]==============================================
55+ "use strict";
5156 var App = function () {
5257 return <> Test < / > ;
5358 } ;
54- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJmaWxlIjoidGVzdC1qc3gtcHJlc2VydmUudHN4IiwibWFwcGluZ3MiOiJBQUNNLElBQU0sR0FBRyxHQUFHO0lBQ1YsT0FBTyxFQUFFLElBQUksR0FBRyxDQUFBO0FBQ2xCLENBQUMsQ0FBQSIsIm5hbWVzIjpbXSwic291cmNlcyI6WyJ0ZXN0LWpzeC1wcmVzZXJ2ZS50c3giXSwic291cmNlc0NvbnRlbnQiOlsiXG4gICAgICBjb25zdCBBcHAgPSAoKSA9PiB7XG4gICAgICAgIHJldHVybiA8PlRlc3Q8Lz5cbiAgICAgIH1cbiAgICAiXSwidmVyc2lvbiI6M30=
59+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJmaWxlIjoidGVzdC1qc3gtcHJlc2VydmUudHN4IiwibWFwcGluZ3MiOiI7QUFDTSxJQUFNLEdBQUcsR0FBRztJQUNWLE9BQU8sRUFBRSxJQUFJLEdBQUcsQ0FBQTtBQUNsQixDQUFDLENBQUEiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsidGVzdC1qc3gtcHJlc2VydmUudHN4Il0sInNvdXJjZXNDb250ZW50IjpbIlxuICAgICAgY29uc3QgQXBwID0gKCkgPT4ge1xuICAgICAgICByZXR1cm4gPD5UZXN0PC8+XG4gICAgICB9XG4gICAgIl0sInZlcnNpb24iOjN9
5560 ===[ INLINE SOURCE MAPS ]=======================================================
5661 file: test-jsx-preserve.tsx
57- mappings: 'AACM,IAAM,GAAG,GAAG;IACV,OAAO,EAAE,IAAI,GAAG,CAAA;AAClB,CAAC,CAAA'
62+ mappings: '; AACM,IAAM,GAAG,GAAG;IACV,OAAO,EAAE,IAAI,GAAG,CAAA;AAClB,CAAC,CAAA'
5863 names: []
5964 sources:
6065 - test-jsx-preserve.tsx
@@ -69,15 +74,16 @@ exports[`jsx preserve should compile tsx file for jsx preserve with incremental
6974 ================================================================================
7075` ;
7176
72- exports [` jsx preserve should compile tsx file for jsx preserve with program 1` ] = `
77+ exports [` jsx preserve should compile tsx file with program 1` ] = `
7378 ===[ FILE: test-jsx-preserve.tsx ]==============================================
79+ "use strict";
7480 var App = function () {
7581 return <> Test < / > ;
7682 } ;
77- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJmaWxlIjoidGVzdC1qc3gtcHJlc2VydmUudHN4IiwibWFwcGluZ3MiOiJBQUNNLElBQU0sR0FBRyxHQUFHO0lBQ1YsT0FBTyxFQUFFLElBQUksR0FBRyxDQUFBO0FBQ2xCLENBQUMsQ0FBQSIsIm5hbWVzIjpbXSwic291cmNlcyI6WyJ0ZXN0LWpzeC1wcmVzZXJ2ZS50c3giXSwic291cmNlc0NvbnRlbnQiOlsiXG4gICAgICBjb25zdCBBcHAgPSAoKSA9PiB7XG4gICAgICAgIHJldHVybiA8PlRlc3Q8Lz5cbiAgICAgIH1cbiAgICAiXSwidmVyc2lvbiI6M30=
83+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJmaWxlIjoidGVzdC1qc3gtcHJlc2VydmUudHN4IiwibWFwcGluZ3MiOiI7QUFDTSxJQUFNLEdBQUcsR0FBRztJQUNWLE9BQU8sRUFBRSxJQUFJLEdBQUcsQ0FBQTtBQUNsQixDQUFDLENBQUEiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsidGVzdC1qc3gtcHJlc2VydmUudHN4Il0sInNvdXJjZXNDb250ZW50IjpbIlxuICAgICAgY29uc3QgQXBwID0gKCkgPT4ge1xuICAgICAgICByZXR1cm4gPD5UZXN0PC8+XG4gICAgICB9XG4gICAgIl0sInZlcnNpb24iOjN9
7884 ===[ INLINE SOURCE MAPS ]=======================================================
7985 file: test-jsx-preserve.tsx
80- mappings: 'AACM,IAAM,GAAG,GAAG;IACV,OAAO,EAAE,IAAI,GAAG,CAAA;AAClB,CAAC,CAAA'
86+ mappings: '; AACM,IAAM,GAAG,GAAG;IACV,OAAO,EAAE,IAAI,GAAG,CAAA;AAClB,CAAC,CAAA'
8187 names: []
8288 sources:
8389 - test-jsx-preserve.tsx
@@ -92,6 +98,54 @@ exports[`jsx preserve should compile tsx file for jsx preserve with program 1`]
9298 ================================================================================
9399` ;
94100
101+ exports [` other jsx options should compile tsx file for with incremental program 1` ] = `
102+ ===[ FILE: test-jsx-options.tsx ]===============================================
103+ "use strict";
104+ var App = function () {
105+ return React .createElement (React .Fragment , null , " Test" );
106+ } ;
107+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJmaWxlIjoidGVzdC1qc3gtb3B0aW9ucy50c3giLCJtYXBwaW5ncyI6IjtBQUNNLElBQU0sR0FBRyxHQUFHO0lBQ1YsT0FBTyxpREFBUyxDQUFBO0FBQ2xCLENBQUMsQ0FBQSIsIm5hbWVzIjpbXSwic291cmNlcyI6WyJ0ZXN0LWpzeC1vcHRpb25zLnRzeCJdLCJzb3VyY2VzQ29udGVudCI6WyJcbiAgICAgIGNvbnN0IEFwcCA9ICgpID0+IHtcbiAgICAgICAgcmV0dXJuIDw+VGVzdDwvPlxuICAgICAgfVxuICAgICJdLCJ2ZXJzaW9uIjozfQ==
108+ ===[ INLINE SOURCE MAPS ]=======================================================
109+ file: test-jsx-options.tsx
110+ mappings: ';AACM,IAAM,GAAG,GAAG;IACV,OAAO,iDAAS,CAAA;AAClB,CAAC,CAAA'
111+ names: []
112+ sources:
113+ - test-jsx-options.tsx
114+ sourcesContent:
115+ - |2-
116+
117+ const App = () => {
118+ return <> Test < / >
119+ }
120+
121+ version: 3
122+ ================================================================================
123+ ` ;
124+
125+ exports [` other jsx options should compile tsx file for with program 1` ] = `
126+ ===[ FILE: test-jsx-options.tsx ]===============================================
127+ "use strict";
128+ var App = function () {
129+ return React .createElement (React .Fragment , null , " Test" );
130+ } ;
131+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJmaWxlIjoidGVzdC1qc3gtb3B0aW9ucy50c3giLCJtYXBwaW5ncyI6IjtBQUNNLElBQU0sR0FBRyxHQUFHO0lBQ1YsT0FBTyxpREFBUyxDQUFBO0FBQ2xCLENBQUMsQ0FBQSIsIm5hbWVzIjpbXSwic291cmNlcyI6WyJ0ZXN0LWpzeC1vcHRpb25zLnRzeCJdLCJzb3VyY2VzQ29udGVudCI6WyJcbiAgICAgIGNvbnN0IEFwcCA9ICgpID0+IHtcbiAgICAgICAgcmV0dXJuIDw+VGVzdDwvPlxuICAgICAgfVxuICAgICJdLCJ2ZXJzaW9uIjozfQ==
132+ ===[ INLINE SOURCE MAPS ]=======================================================
133+ file: test-jsx-options.tsx
134+ mappings: ';AACM,IAAM,GAAG,GAAG;IACV,OAAO,iDAAS,CAAA;AAClB,CAAC,CAAA'
135+ names: []
136+ sources:
137+ - test-jsx-options.tsx
138+ sourcesContent:
139+ - |2-
140+
141+ const App = () => {
142+ return <> Test < / >
143+ }
144+
145+ version: 3
146+ ================================================================================
147+ ` ;
148+
95149exports [` typings incremental program should report diagnostics with pathRegex config matches file name 1` ] = ` "test-typings.ts: Emit skipped"` ;
96150
97151exports [` typings normal program should report diagnostics with pathRegex config matches file name 1` ] = `
0 commit comments