Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit c66a7ee

Browse files
committed
Remove unused helper
1 parent 585b6ac commit c66a7ee

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: spec/support/react/spec_helpers.rb

-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ def renderToDocument(type, options = {})
88
React::Test::Utils.render_into_document(element)
99
end
1010

11-
def isElementOfType(element, type)
12-
`React.addons.TestUtils.isElementOfType(#{element.to_n}, #{type.cached_component_class})`
13-
end
14-
1511
def build_element(type, options)
1612
component = React.create_element(type, options)
1713
element = `ReactTestUtils.renderIntoDocument(#{component.to_n})`

0 commit comments

Comments
 (0)