We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d2bf37 commit 3ad32d3Copy full SHA for 3ad32d3
test/jsxtransform_test.rb
@@ -56,7 +56,7 @@ class JSXTransformTest < ActionDispatch::IntegrationTest
56
React::JSX.transform_options = {harmony: true}
57
get 'assets/harmony_example.js'
58
assert_response :success
59
- assert_match(/generateGreeting:function\(\)/, @response.body, "object literal methods")
+ assert_match(/generateGreeting:\s*function\(\)/, @response.body, "object literal methods")
60
assert_match(/React.__spread/, @response.body, "spreading props")
61
assert_match(/Your greeting is: '" \+ insertedGreeting \+ "'/, @response.body, "string interpolation")
62
end
0 commit comments