diff --git a/tests/lib/__snapshots__/markdown.test.js.snap b/tests/lib/__snapshots__/markdown.test.js.snap new file mode 100644 index 00000000..d782ce39 --- /dev/null +++ b/tests/lib/__snapshots__/markdown.test.js.snap @@ -0,0 +1,144 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Markdown.render() should render footnote correctly 1`] = ` +"
[1]
+hello-world: https://github.com/BoostIO/Boostnote/
hello-world β©οΈ
+This is the first line.
+This is the second line.
This is the first line. +This is the second line.
+" +`; + +exports[`Markdown.render() should render shortcuts correctly 1`] = ` +"Ctrl
+Ctrl
+" +`; + +exports[`Markdown.render() should renders KaTeX correctly 1`] = ` +"c=pmsqrta2+b2 +" +`; + +exports[`Markdown.render() should renders abbrevations correctly 1`] = ` +"The HTML specification
+is maintained by the W3C.
+ filename.js
+ 2
+ var project = 'boostnote';
+
+ "
+`;
+
+exports[`Markdown.render() should renders definition lists correctly 1`] = `
+"Term 3
+~
Definition 1
+Definition 2
+ { some code, part of Definition 2 }
+
+Third paragraph of definition 2.
+H20
+" +`; + +exports[`Markdown.render() should renders sup correctly 1`] = ` +"29th
+" +`; + +exports[`Markdown.render() should text with quotes correctly 1`] = ` +"This is a βQUOTEβ.
+" +`; + +exports[`Markdown.render() should text with quotes correctly 2`] = ` +"This is a "QUOTE".
+" +`; diff --git a/tests/lib/snapshots/markdown-test.js.md b/tests/lib/snapshots/markdown-test.js.md deleted file mode 100644 index 4111c2f2..00000000 --- a/tests/lib/snapshots/markdown-test.js.md +++ /dev/null @@ -1,172 +0,0 @@ -# Snapshot report for `tests/lib/markdown-test.js` - -The actual snapshot is saved in `markdown-test.js.snap`. - -Generated by [AVA](https://ava.li). - -## Markdown.render() should render footnote correctly - -> Snapshot 1 - - `[1]
β
- hello-world: https://github.com/BoostIO/Boostnote/
hello-world β©οΈ
β -This is the first line.
β
- This is the second line.
This is the first line.β - This is the second line.
β - ` - -## Markdown.render() should render shortcuts correctly - -> Snapshot 1 - - `Ctrl
β -Ctrl
β - ` - -## Markdown.render() should renders KaTeX correctly - -> Snapshot 1 - - `β - ` - -## Markdown.render() should renders abbrevations correctly - -> Snapshot 1 - - `The HTML specification
β
- is maintained by the W3C.
β
- filename.jsβ
- 2β
- var project = 'boostnote';β
- β
- `
-
-## Markdown.render() should renders definition lists correctly
-
-> Snapshot 1
-
- `Term 3
β
- ~
Definition 1
β -Definition 2
β - { some code, part of Definition 2 }β
- β
- Third paragraph of definition 2.
β -H20
β - ` - -## Markdown.render() should renders sup correctly - -> Snapshot 1 - - `29th
β - ` - -## Markdown.render() should text with quotes correctly - -> Snapshot 1 - - `This is a βQUOTEβ.
β - ` - -> Snapshot 2 - - `This is a "QUOTE".
β - ` diff --git a/tests/lib/snapshots/markdown-test.js.snap b/tests/lib/snapshots/markdown-test.js.snap deleted file mode 100644 index 3f5ec41c..00000000 Binary files a/tests/lib/snapshots/markdown-test.js.snap and /dev/null differ