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/integration/fixtures/multiple-done-beforeEach.fixture.js')
-rw-r--r--tests/lib/mocha-3.1.0/test/integration/fixtures/multiple-done-beforeEach.fixture.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/lib/mocha-3.1.0/test/integration/fixtures/multiple-done-beforeEach.fixture.js b/tests/lib/mocha-3.1.0/test/integration/fixtures/multiple-done-beforeEach.fixture.js
new file mode 100644
index 0000000000..9b4724dea1
--- /dev/null
+++ b/tests/lib/mocha-3.1.0/test/integration/fixtures/multiple-done-beforeEach.fixture.js
@@ -0,0 +1,14 @@
+describe('suite', function() {
+ beforeEach(function(done) {
+ setTimeout(done, 10);
+ setTimeout(done, 20);
+ });
+
+ it('test1', function(done) {
+ setTimeout(done, 50);
+ });
+
+ it('test2', function(done) {
+ setTimeout(done, 50);
+ });
+});