Skip to content

Commit

Permalink
feat: add an e2e test to verify img in deflist behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
brotheroftux committed Jan 15, 2025
1 parent 1937588 commit a56e8f7
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 0 deletions.
Binary file not shown.
12 changes: 12 additions & 0 deletions tests/e2e/plugin-corner-cases.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import {compareDirectories, getTestPaths, runYfmDocs} from '../utils';

describe('plugin corner cases:', () => {
it('images in deflists — integrity check', () => {
const {inputPath, outputPath} = getTestPaths(
'mocks/plugin-corner-cases/images-in-deflists',
);

runYfmDocs(inputPath, outputPath, {md2md: true, md2html: false});
compareDirectories(outputPath);
});
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
: Definition 1

![](image.jpeg)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: Test diplodoc-cli run
items:
- name: Intro
href: index.md

0 comments on commit a56e8f7

Please sign in to comment.