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.2/test/hook-timeout.spec.js')
-rw-r--r--tests/lib/mocha-3.1.2/test/hook-timeout.spec.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/lib/mocha-3.1.2/test/hook-timeout.spec.js b/tests/lib/mocha-3.1.2/test/hook-timeout.spec.js
new file mode 100644
index 0000000000..c16c3011fb
--- /dev/null
+++ b/tests/lib/mocha-3.1.2/test/hook-timeout.spec.js
@@ -0,0 +1,10 @@
+'use strict';
+
+before(function (done) {
+ this.timeout(100);
+ setTimeout(done, 50);
+});
+
+it('should work', function (done) {
+ done();
+});