-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9c8d39
commit 8baa9c5
Showing
8 changed files
with
58 additions
and
3,028 deletions.
There are no files selected for viewing
2,871 changes: 30 additions & 2,841 deletions
2,871
tests/integration/__snapshots__/large.spec.js.snap
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,27 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`List Parsing indent should break the list 1`] = ` | ||
"<ul> | ||
<li>item <strong>1</strong></li> | ||
<li>item <a href=\\"link-url\\">link</a><ul> | ||
<li>item 3 <code>code item</code><ul> | ||
<li>item 4</li> | ||
</ul></li> | ||
<li>item 3 <code>code item</code></li> | ||
</ul></li> | ||
</ul>" | ||
`; | ||
exports[`List Parsing indent should break the list 1`] = `"<ul><li>item <strong>1</strong></li><li>item <a href=\\"link-url\\">link</a><ul><li>item 3 <code>code item</code><ul><li>item 4</li></ul></li><li>item 3 <code>code item</code></li></ul></li></ul>"`; | ||
exports[`List Parsing should allow empty list item 1`] = ` | ||
"<h2>- one</h2><ul> | ||
<li>two</li> | ||
</ul>" | ||
`; | ||
exports[`List Parsing should allow empty list item 1`] = `"<h2>- one</h2><ul><li>two</li></ul>"`; | ||
exports[`List Parsing should detect list indent 1`] = ` | ||
"<ul> | ||
<li>item <strong>1</strong></li> | ||
<li>item <a href=\\"link-url\\">link</a></li> | ||
<li>item 3 <code>code item</code></li> | ||
</ul>" | ||
`; | ||
exports[`List Parsing should detect list indent 1`] = `"<ul><li>item <strong>1</strong></li><li>item <a href=\\"link-url\\">link</a></li><li>item 3 <code>code item</code></li></ul>"`; | ||
exports[`List Parsing should parse a list with an empty list item 1`] = ` | ||
"<h2>- one</h2><ul> | ||
<li>two</li> | ||
</ul>" | ||
`; | ||
exports[`List Parsing should parse a list with an empty list item 1`] = `"<h2>- one</h2><ul><li>two</li></ul>"`; | ||
exports[`List Parsing should parse a list with an empty list item 2`] = ` | ||
"<ul> | ||
<li></li> | ||
<li>one</li> | ||
<li>two</li> | ||
</ul>" | ||
`; | ||
exports[`List Parsing should parse a list with an empty list item 2`] = `"<ul><li></li><li>one</li><li>two</li></ul>"`; | ||
exports[`List Parsing should parse a list with an empty list item 3`] = ` | ||
"<ul> | ||
<li>one</li> | ||
</ul><h2>- two</h2>" | ||
`; | ||
exports[`List Parsing should parse a list with an empty list item 3`] = `"<ul><li>one</li></ul><h2>- two</h2>"`; | ||
exports[`List Parsing should parse a spaced list 1`] = ` | ||
"<ul> | ||
<li>here we go with a list item</li> | ||
<li>another list item is here</li> | ||
<li>next list item is on the fly</li> | ||
</ul>" | ||
`; | ||
exports[`List Parsing should parse a spaced list 1`] = `"<ul><li>here we go with a list item</li><li>another list item is here</li><li>next list item is on the fly</li></ul>"`; | ||
exports[`List Parsing should parse the indented codeblock inside 1`] = ` | ||
"<p>To put a code block within a list item, the code block needs to be indented <em>twice</em> -- 8 spaces or two tabs:</p><ul> | ||
<li>A list item with a code block:<pre><code><code goes here> | ||
"<p>To put a code block within a list item, the code block needs to be indented <em>twice</em> -- 8 spaces or two tabs:</p><ul><li>A list item with a code block:<pre><code><code goes here> | ||
<code goes here> | ||
<code goes here></code></pre></li> | ||
</ul><h3>Code Blocks</h3>" | ||
<code goes here></code></pre></li></ul><h3>Code Blocks</h3>" | ||
`; | ||
exports[`List Parsing should tokenize a valid ordered list 1`] = ` | ||
"<ol> | ||
<li>item <strong>1</strong></li> | ||
<li>item <a href=\\"link-url\\">link</a></li> | ||
<li>item 3 <code>code item</code></li> | ||
</ol>" | ||
`; | ||
exports[`List Parsing should tokenize a valid ordered list 1`] = `"<ol><li>item <strong>1</strong></li><li>item <a href=\\"link-url\\">link</a></li><li>item 3 <code>code item</code></li></ol>"`; | ||
exports[`List Parsing should tokenize a valid un-ordered list 1`] = ` | ||
"<ul> | ||
<li>item <strong>1</strong></li> | ||
<li>item <a href=\\"link-url\\">link</a></li> | ||
<li>item 3 <code>code item</code></li> | ||
</ul>" | ||
`; | ||
exports[`List Parsing should tokenize a valid un-ordered list 1`] = `"<ul><li>item <strong>1</strong></li><li>item <a href=\\"link-url\\">link</a></li><li>item 3 <code>code item</code></li></ul>"`; | ||
exports[`List Parsing should tokenize list combination 1`] = ` | ||
"<ul> | ||
<li>one</li> | ||
<li>two</li> | ||
</ul><ol> | ||
<li>one</li> | ||
<li>two</li> | ||
</ol><ul> | ||
<li><input type='checkbox'>c empty</li> | ||
<li><input type='checkbox' checked>c checked</li> | ||
</ul><ol> | ||
<li><input type='checkbox'>c empty</li> | ||
<li><input type='checkbox' checked>c checked</li> | ||
</ol>" | ||
`; | ||
exports[`List Parsing should tokenize list combination 1`] = `"<ul><li>one</li><li>two</li></ul><ol><li>one</li><li>two</li></ol><ul><li><input type='checkbox'>c empty</li><li><input type='checkbox' checked>c checked</li></ul><ol><li><input type='checkbox'>c empty</li><li><input type='checkbox' checked>c checked</li></ol>"`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters