Github user robertkowalski commented on a diff in the pull request:

    https://github.com/apache/couchdb-fauxton/pull/617#discussion_r50973782
  
    --- Diff: app/addons/components/tests/stringEditModalSpec.react.jsx ---
    @@ -86,11 +88,13 @@ define([
             );
     
             var modal = TestUtils.findRenderedComponentWithType(el, Modal);
    -        var modalEl = React.findDOMNode(modal.refs.modal);
    +        var modalEl = ReactDOM.findDOMNode(modal.refs.modal);
     
             
TestUtils.Simulate.click($(modalEl).find('#string-edit-save-btn')[0]);
             assert.ok(spy.calledOnce);
    --- End diff --
    
    this test makes no sense and has to get fixed
    
    test title is: "replaces "\\n" with actual newlines"
    
    the actual test asserts that a spy was called once, nothing more.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to