@@ -61,17 +61,19 @@ public void ShouldTransformJsxIfAnnotationPresent()
6161
6262 _environment . Verify ( x => x . ExecuteWithLargerStackIfRequired < string > (
6363 "ReactNET_transform" ,
64- "/** @jsx React.DOM */ <div>Hello World</div>"
65- ) ) ;
64+ "/** @jsx React.DOM */ <div>Hello World</div>" ,
65+ false
66+ ) ) ;
6667 }
6768
6869 [ Test ]
6970 public void ShouldWrapExceptionsInJsxExeption ( )
7071 {
7172 _environment . Setup ( x => x . ExecuteWithLargerStackIfRequired < string > (
7273 "ReactNET_transform" ,
73- "/** @jsx React.DOM */ <div>Hello World</div>"
74- ) ) . Throws ( new Exception ( "Something broke..." ) ) ;
74+ "/** @jsx React.DOM */ <div>Hello World</div>" ,
75+ false
76+ ) ) . Throws ( new Exception ( "Something broke..." ) ) ;
7577
7678 const string input = "/** @jsx React.DOM */ <div>Hello World</div>" ;
7779 Assert . Throws < JsxException > ( ( ) => _jsxTransformer . TransformJsx ( input ) ) ;
@@ -127,8 +129,9 @@ public void ShouldTransformJsxIfFileCacheHashInvalid()
127129 _jsxTransformer . TransformJsxFile ( "foo.jsx" ) ;
128130 _environment . Verify ( x => x . ExecuteWithLargerStackIfRequired < string > (
129131 "ReactNET_transform" ,
130- "/** @jsx React.DOM */ <div>Hello World</div>"
131- ) ) ;
132+ "/** @jsx React.DOM */ <div>Hello World</div>" ,
133+ false
134+ ) ) ;
132135 }
133136
134137 [ Test ]
@@ -141,8 +144,9 @@ public void ShouldTransformJsxIfNoCache()
141144 _jsxTransformer . TransformJsxFile ( "foo.jsx" ) ;
142145 _environment . Verify ( x => x . ExecuteWithLargerStackIfRequired < string > (
143146 "ReactNET_transform" ,
144- "/** @jsx React.DOM */ <div>Hello World</div>"
145- ) ) ;
147+ "/** @jsx React.DOM */ <div>Hello World</div>" ,
148+ false
149+ ) ) ;
146150 }
147151
148152 [ Test ]
@@ -151,7 +155,8 @@ public void ShouldSaveTransformationResult()
151155 _fileSystem . Setup ( x => x . ReadAsString ( "foo.jsx" ) ) . Returns ( "/** @jsx React.DOM */ <div>Hello World</div>" ) ;
152156 _environment . Setup ( x => x . ExecuteWithLargerStackIfRequired < string > (
153157 "ReactNET_transform" ,
154- "/** @jsx React.DOM */ <div>Hello World</div>"
158+ "/** @jsx React.DOM */ <div>Hello World</div>" ,
159+ false
155160 ) ) . Returns ( "React.DOM.div('Hello World')" ) ;
156161
157162 string result = null ;
0 commit comments