@@ -909,16 +909,16 @@ namespace ts {
909909 const actual = ts . parseJsonConfigFileContent ( json , caseInsensitiveMixedExtensionHost , caseInsensitiveBasePath ) ;
910910 assertParsed ( actual , expected ) ;
911911 } ) ;
912- it ( "with jsx=preserveWithJsExtension , allowJs=false" , ( ) => {
912+ it ( "with jsx=react-native , allowJs=false" , ( ) => {
913913 const json = {
914914 compilerOptions : {
915- jsx : "preserveWithJsExtension " ,
915+ jsx : "react-native " ,
916916 allowJs : false
917917 }
918918 } ;
919919 const expected : ts . ParsedCommandLine = {
920920 options : {
921- jsx : ts . JsxEmit . PreserveWithJsExtension ,
921+ jsx : ts . JsxEmit . ReactNative ,
922922 allowJs : false
923923 } ,
924924 errors : [ ] ,
@@ -986,16 +986,16 @@ namespace ts {
986986 const actual = ts . parseJsonConfigFileContent ( json , caseInsensitiveMixedExtensionHost , caseInsensitiveBasePath ) ;
987987 assertParsed ( actual , expected ) ;
988988 } ) ;
989- it ( "with jsx=preserveWithJsExtension , allowJs=true" , ( ) => {
989+ it ( "with jsx=react-native , allowJs=true" , ( ) => {
990990 const json = {
991991 compilerOptions : {
992- jsx : "preserveWithJsExtension " ,
992+ jsx : "react-native " ,
993993 allowJs : true
994994 }
995995 } ;
996996 const expected : ts . ParsedCommandLine = {
997997 options : {
998- jsx : ts . JsxEmit . PreserveWithJsExtension ,
998+ jsx : ts . JsxEmit . ReactNative ,
999999 allowJs : true
10001000 } ,
10011001 errors : [ ] ,
0 commit comments