Skip to content

Commit 8078a79

Browse files
authored
chore: Fix 404 in README.md. (#1220)
default-exclude list has moved, missed a link in #1214. Fixes #1219
1 parent 7a02cb7 commit 8078a79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ This table is a quick TLDR for the rest of this readme and there are more advanc
100100
| `check-coverage` | Check whether coverage is within thresholds, fail if not | `Boolean` | `false` |
101101
| `extension` | List of extensions that nyc should attempt to handle in addition to `.js` | `Array<String>` | `['.js', '.cjs', '.mjs', '.ts', '.tsx', '.jsx']` |
102102
| `include` | See [selecting files for coverage] for more info | `Array<String>` | `['**']`|
103-
| `exclude` | See [selecting files for coverage] for more info | `Array<String>` | [list](https://github.com/istanbuljs/istanbuljs/blob/master/packages/test-exclude/default-exclude.js) |
103+
| `exclude` | See [selecting files for coverage] for more info | `Array<String>` | [list](https://github.com/istanbuljs/schema/blob/master/default-exclude.js) |
104104
| `reporter` | [Coverage reporters to use](https://istanbul.js.org/docs/advanced/alternative-reporters/) | `Array<String>` | `['text']` |
105105
| `report-dir` | Where to put the coverage report files | `String` | `./coverage` |
106106
| `skip-full` | Don't show files with 100% statement, branch, and function coverage | `Boolean` | `false` |
@@ -109,7 +109,7 @@ This table is a quick TLDR for the rest of this readme and there are more advanc
109109
Configuration can also be provided by `nyc.config.js` if programmed logic is required:
110110
```js
111111
'use strict';
112-
const {defaultExclude} = require('test-exclude');
112+
const defaultExclude = require('@istanbuljs/schema/default-exclude');
113113
const isWindows = require('is-windows');
114114

115115
let platformExclude = [

0 commit comments

Comments
 (0)