Github user benkeen commented on a diff in the pull request:
https://github.com/apache/couchdb-fauxton/pull/547#discussion_r41168996
--- Diff: app/core/tests/routeObjectSpec.js ---
@@ -197,17 +197,6 @@ define([
restore(React.unmountComponentAtNode);
});
- it('removes existing component via react', function () {
- var spy = sinon.stub(React, 'unmountComponentAtNode');
- var fakeSelector = 'remove-selector';
- testRouteObject.reactComponents[fakeSelector] =
React.createElement('div');
--- End diff --
Bah, good point. Spent ages trying to construct a working test here.
---
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.
---