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/retries/nested.fixture.js')
-rw-r--r--tests/lib/mocha-3.1.0/test/integration/fixtures/retries/nested.fixture.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/lib/mocha-3.1.0/test/integration/fixtures/retries/nested.fixture.js b/tests/lib/mocha-3.1.0/test/integration/fixtures/retries/nested.fixture.js
new file mode 100644
index 0000000000..43c40cb236
--- /dev/null
+++ b/tests/lib/mocha-3.1.0/test/integration/fixtures/retries/nested.fixture.js
@@ -0,0 +1,9 @@
+describe('retries', function() {
+ this.retries(3);
+ describe('nested', function () {
+ it('should fail after only 1 retry', function(){
+ this.retries(1);
+ throw new Error('retry error');
+ });
+ });
+});