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/timeout.fixture.js')
-rw-r--r--tests/lib/mocha-3.1.0/test/integration/fixtures/timeout.fixture.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/lib/mocha-3.1.0/test/integration/fixtures/timeout.fixture.js b/tests/lib/mocha-3.1.0/test/integration/fixtures/timeout.fixture.js
deleted file mode 100644
index d8c99b2bc3..0000000000
--- a/tests/lib/mocha-3.1.0/test/integration/fixtures/timeout.fixture.js
+++ /dev/null
@@ -1,17 +0,0 @@
-describe('timeout', function(){
- this.timeout(1);
-
- it('should be honored with sync suites', function() {
- sleep(2);
- });
-
- it('should be honored with async suites', function(done) {
- sleep(2);
- done();
- });
-
- function sleep(ms) {
- var start = Date.now();
- while (start + ms > Date.now());
- }
-});