Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/mocha-3.1.0/test/acceptance/overspecified-async.spec.js')
-rw-r--r--tests/lib/mocha-3.1.0/test/acceptance/overspecified-async.spec.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/lib/mocha-3.1.0/test/acceptance/overspecified-async.spec.js b/tests/lib/mocha-3.1.0/test/acceptance/overspecified-async.spec.js
new file mode 100644
index 0000000000..2844920379
--- /dev/null
+++ b/tests/lib/mocha-3.1.0/test/acceptance/overspecified-async.spec.js
@@ -0,0 +1,8 @@
+describe('overspecified asynchronous resolution method', function() {
+ it('should fail when multiple methods are used', function(done) {
+ setTimeout(done, 0);
+
+ // uncomment
+ // return { then: function() {} };
+ });
+});