@diplodoc/cli-tests 5.17.0 → 5.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/e2e/errors.spec.ts +2 -2
- package/package.json +1 -1
package/e2e/errors.spec.ts
CHANGED
|
@@ -26,8 +26,8 @@ function test(path: string, expect: Function) {
|
|
|
26
26
|
describe('Errors', () => {
|
|
27
27
|
test('mocks/errors/unreachable-link', ({html}: TestResult) => {
|
|
28
28
|
expectErrors(html, [
|
|
29
|
-
'ERR index.md: 1: YFM003 / unreachable-link Link is unreachable [Context: "Unreachable link: "exists.html"; Reason: File
|
|
30
|
-
'ERR index.md: 2: YFM003 / unreachable-link Link is unreachable [Context: "Unreachable link: "missed.html"; Reason: File
|
|
29
|
+
'ERR index.md: 1: YFM003 / unreachable-link Link is unreachable [Context: "Unreachable link: "exists.html"; Reason: File is not declared in toc; Line: [existing file](./exists.md)"]',
|
|
30
|
+
'ERR index.md: 2: YFM003 / unreachable-link Link is unreachable [Context: "Unreachable link: "missed.html"; Reason: File is not declared in toc; Line: [missed file](./missed.md)"]',
|
|
31
31
|
]);
|
|
32
32
|
});
|
|
33
33
|
|