Skip to content

Commit

Permalink
chore(devDeps): upgrade '@11ty/eleventy' to v1.0.0 (mochajs#4844)
Browse files Browse the repository at this point in the history
Signed-off-by: Outsider <[email protected]>
  • Loading branch information
outsideris authored Mar 13, 2022
1 parent 24b5243 commit b46db73
Show file tree
Hide file tree
Showing 5 changed files with 545 additions and 673 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Mocha is a feature-rich JavaScript test framework running on [Node.js][] and in
<a href="#backers"><img src="https://opencollective.com/mochajs/tiers/backers/badge.svg" height="18" alt="OpenCollective backers"></a>
</nav>

{% include supporters.md %}
{% include 'supporters.md' %}

## Features

Expand Down Expand Up @@ -1760,7 +1760,7 @@ Finally, use this command to bring it together: `mocha --require fixtures.mjs te
This flowchart will help you decide which of [hooks], [root hook plugins] or
[global fixtures] you should use.

{% include fixture-wizard.html %}
{% include 'fixture-wizard.html' %}

## Interfaces

Expand Down
5 changes: 3 additions & 2 deletions lib/nodejs/parallel-buffered-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,9 @@ class ParallelBufferedRunner extends Runner {
*
* @param {Function} callback - Called with an exit code corresponding to
* number of test failures.
* @param {{files: string[], options: Options}} opts - Files to run and
* command-line options, respectively.
* @param {Object} [opts] - options
* @param {string[]} opts.files - Files to run
* @param {Options} opts.options - command-line options
*/
run(callback, {files, options = {}} = {}) {
/**
Expand Down
4 changes: 3 additions & 1 deletion lib/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,9 @@ Runner.prototype._uncaught = function (err) {
* @public
* @memberof Runner
* @param {Function} fn - Callback when finished
* @param {{files: string[], options: Options}} [opts] - For subclasses
* @param {Object} [opts] - For subclasses
* @param {string[]} opts.files - Files to run
* @param {Options} opts.options - command-line options
* @returns {Runner} Runner instance.
*/
Runner.prototype.run = function (fn, opts = {}) {
Expand Down
Loading

0 comments on commit b46db73

Please sign in to comment.