@diplodoc/cli-tests 5.15.7 → 5.16.2
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.
|
@@ -1061,7 +1061,7 @@ exports[`Regression > internal 42`] = `
|
|
|
1061
1061
|
<body class="g-root g-root_theme_light">
|
|
1062
1062
|
<div id="root"></div>
|
|
1063
1063
|
<script type="application/json" id="diplodoc-state">
|
|
1064
|
-
{"data":{"leading":false,"html":"<p><span class=\\"yfm-latex\\" data-content=\\"%5Csqrt%7B3x-1%7D%2B(1%2Bx)%5E2\\" data-options=\\"%7B%22displayMode%22%3Afalse%7D\\"></span></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_bundle/latex-extension.css"],"script":["_bundle/latex-extension.js"],"vcsPath":"latex.md"},"headings":[],"title":"Latex usage"},"router":{"pathname":"latex","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1064
|
+
{"data":{"leading":false,"html":"<p><span class=\\"yfm-latex\\" data-content=\\"%5Csqrt%7B3x-1%7D%2B(1%2Bx)%5E2\\" data-options=\\"%7B%22strict%22%3Afalse%2C%22displayMode%22%3Afalse%7D\\"></span></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_bundle/latex-extension.css"],"script":["_bundle/latex-extension.js"],"vcsPath":"latex.md"},"headings":[],"title":"Latex usage"},"router":{"pathname":"latex","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1065
1065
|
</script>
|
|
1066
1066
|
<script type="application/javascript">
|
|
1067
1067
|
const data = document.querySelector('script#diplodoc-state');
|
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: "
|
|
30
|
-
'ERR index.md: 2: YFM003 / unreachable-link Link is unreachable [Context: "
|
|
29
|
+
'ERR index.md: 1: YFM003 / unreachable-link Link is unreachable [Context: "Unreachable link: "exists.html"; Reason: File exists but 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 does not exist and is not declared in toc; Line: [missed file](./missed.md)"]',
|
|
31
31
|
]);
|
|
32
32
|
});
|
|
33
33
|
|