GitHub user benkeen opened a pull request:
https://github.com/apache/couchdb-fauxton/pull/438
Prevent duplicate mocha tests running
When running mocha for environments where Fauxton has been
extended, e.g. the Cloudant dashboard, tests unique to that other
environment get run twice because the original tests are included
once from the original folder and once from where they've been
copied - in the Fauxton /app folder. Since we know that the files
would need to be copied over to the /app folder for inclusion
in Fauxton, this PR removes the extra tests from the original
source.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/benkeen/couchdb-fauxton mocha-config-tweak
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fauxton/pull/438.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #438
----
commit 0e34b78c4b2de756d3dd60d3a135024039fe622a
Author: Ben Keen <[email protected]>
Date: 2015-05-26T17:50:31Z
Prevent duplicate mocha tests running
When running mocha for environments where Fauxton has been
extended, e.g. the Cloudant dashboard, tests unique to that other
environment get run twice because the original tests are included
once from the original folder and once from where they've been
copied - in the Fauxton /app folder. Since we know that the files
would need to be copied over to the /app folder for inclusion
in Fauxton, this PR removes the extra tests from the original
source.
----
---
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.
---