Commit 657fd7a
test: skip doctool tests when js-yaml is missing
Skip the doctool tests when js-yaml, which is currently `require()`d
from the eslint source tree, is missing. This can happen, for example,
because eslint is not included in the release source tarballs.
Fixes: #7201
Ref: #6495
PR-URL: #7218
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>1 parent 0f7b4ef commit 657fd7aCopy full SHA for 657fd7a
File tree
Expand file treeCollapse file tree
2 files changed
+14
-0
lines changedOpen diff view settings
Filter options
- test/doctool
Expand file treeCollapse file tree
2 files changed
+14
-0
lines changedOpen diff view settings
Collapse file
test/doctool/test-doctool-html.js
Copy file name to clipboardExpand all lines: test/doctool/test-doctool-html.js+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
8 | 15 | |
9 | 16 | |
10 | 17 | |
|
Collapse file
test/doctool/test-doctool-json.js
Copy file name to clipboardExpand all lines: test/doctool/test-doctool-json.js+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
8 | 15 | |
9 | 16 | |
10 | 17 | |
|
0 commit comments