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/misc/many.spec.js')
-rw-r--r--tests/lib/mocha-3.1.0/test/acceptance/misc/many.spec.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/lib/mocha-3.1.0/test/acceptance/misc/many.spec.js b/tests/lib/mocha-3.1.0/test/acceptance/misc/many.spec.js
deleted file mode 100644
index 26538bc66e..0000000000
--- a/tests/lib/mocha-3.1.0/test/acceptance/misc/many.spec.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Useful for testing SIGINT handler
-// use env.big_number to tune iterations so that you have time to ctrl+c
-
-describe('a load of tests', function(){
- it('should fail the first test', function(){
- throw new Error('this should appear in the summary');
- })
-
- var iterations = (process.env.big_number || 1e7);
- function work() {
- var a = 0;
- for(var i=0; i<iterations; ++i) {
- a += i;
- }
- }
-
- function addTest() {
- it('should pass test ' + i, function(){
- work();
- })
- }
-
- for(var i=0; i<500; ++i) {
- addTest();
- }
-
-})