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

    https://github.com/apache/couchdb-fauxton/pull/388#discussion_r28765885
  
    --- Diff: app/addons/activetasks/tests/activetasks.componentsSpec.react.jsx 
---
    @@ -65,11 +65,21 @@ define([
           });
     
           afterEach(function () {
    -        spy.restore();
    +        if (spy) {
    --- End diff --
    
    I think what would be better is to have another afterEach in the __Active 
Tasks Filter tray__ tests and in there just do the `spy.restore` then you don't 
need this full if statement check.


---
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