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 a83f4db commit 64c50f8Copy full SHA for 64c50f8
test/jsxtransform_test.rb
@@ -59,6 +59,7 @@ class JSXTransformTest < ActionDispatch::IntegrationTest
59
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
+ assert_match(/active=\$__0\.active/, @response.body, "destructuring assignment")
63
end
64
65
test 'accepts strip_types: true option' do
0 commit comments