Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

237 B
Raw Blame
'use strict';

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');
    });
  });
});