docs: function create(opts) {
          var suite = Suite.create(suites[0], opts.title);
          suite.pending = Boolean(opts.pending);
          suite.file = opts.file;
          suites.unshift(suite);
          if (opts.isOnly) {
            if (mocha.options.forbidOnly && shouldBeTested(suite)) {
              throw new Error('`.only` forbidden');
            }
  
            suite.parent.appendOnlySuite(suite);
          }
          if (suite.pending) {
            if (mocha.options.forbidPending && shouldBeTested(suite)) {
              throw new Error('Pending test forbidden');
            }
          }
          if (typeof opts.fn === 'function') {
            opts.fn.call(suite);
            suites.shift();
          } else if (typeof opts.fn === 'undefined' && !suite.pending) {
            throw createMissingArgumentError(
              'Suite "' +
                suite.fullTitle() +
                '" was defined but no callback was supplied. ' +
                'Supply a callback or explicitly skip the suite.',
              'callback',
              'function'
            );
          } else if (!opts.fn && suite.pending) {
            suites.shift();
          }
  
          return suite;
        }