Skip to content

Commit

Permalink
Add and update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
riyadh-h committed Aug 22, 2021
1 parent 720bbe2 commit f43f168
Show file tree
Hide file tree
Showing 15 changed files with 281 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions packages/cli/test/functional/test_site/expected/siteData.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,14 @@
"title": "markdown-it should parse minimized panel as inline element and normal panel as block element",
"headings": {},
"headingKeywords": {}
},
{
"src": "testCenterText.md",
"title": "Center-aligned text test",
"headings": {
"center-text": "Center Text"
},
"headingKeywords": {}
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
247 changes: 247 additions & 0 deletions packages/cli/test/functional/test_site/expected/testCenterText.html

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions packages/cli/test/functional/test_site/site.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@
{
"src": "testPanelMarkdownParsing.md",
"title": "markdown-it should parse minimized panel as inline element and normal panel as block element"
},
{
"src": "testCenterText.md",
"title": "Center-aligned text test"
}
],
"ignore": [
Expand Down
3 changes: 3 additions & 0 deletions packages/cli/test/functional/test_site/testCenterText.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Center Text
This line is not centered.
->But this line is<-

0 comments on commit f43f168

Please sign in to comment.