Github user michellephung commented on a diff in the pull request:
https://github.com/apache/couchdb-fauxton/pull/388#discussion_r28626267
--- Diff: app/addons/activetasks/tests/activetasks.componentsSpec.react.jsx
---
@@ -70,6 +70,14 @@ define([
window.confirm.restore && window.confirm.restore();
});
+
+ it('it displays a message instead of an empty table, if there are
undefined active tasks', function () {
+ spy = sinon.spy(Actions, 'setCollection');
--- End diff --
good point though, it's unclear what's happening.
I can initialize the spy in beforeEach, and then each test will have to
assign it again, if necessary.
---
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.
---