From 39216551573b6372df133df36558984b2cc5091f Mon Sep 17 00:00:00 2001 From: amedora Date: Wed, 7 Aug 2019 15:22:27 +0900 Subject: [PATCH] replace the snapshot file --- tests/lib/__snapshots__/markdown.test.js.snap | 144 +++++++++++++++ tests/lib/snapshots/markdown-test.js.md | 172 ------------------ tests/lib/snapshots/markdown-test.js.snap | Bin 2471 -> 0 bytes 3 files changed, 144 insertions(+), 172 deletions(-) create mode 100644 tests/lib/__snapshots__/markdown.test.js.snap delete mode 100644 tests/lib/snapshots/markdown-test.js.md delete mode 100644 tests/lib/snapshots/markdown-test.js.snap 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/

+
+
+
    +
  1. hello-world β†©οΈŽ

    +
  2. +
+
+" +`; + +exports[`Markdown.render() should render line breaks correctly 1`] = ` +"

This is the first line.
+This is the second line.

+" +`; + +exports[`Markdown.render() should render line breaks correctly 2`] = ` +"

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+b2c = pmsqrt{a^2 + b^2}c=pmsqrta2+b2 +" +`; + +exports[`Markdown.render() should renders abbrevations correctly 1`] = ` +"

abbr

+

The HTML specification
+is maintained by the W3C.

+" +`; + +exports[`Markdown.render() should renders checkboxes 1`] = ` +" +" +`; + +exports[`Markdown.render() should renders codeblock correctly 1`] = ` +"
+        filename.js
+        2
+        var project = 'boostnote';
+
+      
" +`; + +exports[`Markdown.render() should renders definition lists correctly 1`] = ` +"

definition list

+

list 1

+
+
Term 1
+
Definition 1
+
Term 2
+
Definition 2a
+
Definition 2b
+
+

Term 3
+~

+

list 2

+
+
Term 1
+
+

Definition 1

+
+
Term 2 with inline markup
+
+

Definition 2

+
  { some code, part of Definition 2 }
+
+

Third paragraph of definition 2.

+
+
+" +`; + +exports[`Markdown.render() should renders markdown correctly 1`] = ` +"

Welcome to Boostnote!

+

Click here to edit markdown πŸ‘‹

+ +

Docs πŸ“

+ +
+

Article Archive πŸ“š

+ +
+

Community 🍻

+ +" +`; + +exports[`Markdown.render() should renders sub correctly 1`] = ` +"

sub

+

H20

+" +`; + +exports[`Markdown.render() should renders sup correctly 1`] = ` +"

sup

+

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/

␊ -
␊ -
␊ -
    ␊ -
  1. hello-world β†©οΈŽ

    ␊ -
  2. ␊ -
␊ -
␊ - ` - -## Markdown.render() should render line breaks correctly - -> Snapshot 1 - - `

This is the first line.
␊ - This is the second line.

␊ - ` - -> Snapshot 2 - - `

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 - - `c=pmsqrta2+b2c = pmsqrt{a^2 + b^2}␊ - ` - -## Markdown.render() should renders abbrevations correctly - -> Snapshot 1 - - `

abbr

␊ -

The HTML specification
␊ - is maintained by the W3C.

␊ - ` - -## Markdown.render() should renders checkboxes - -> Snapshot 1 - - `␊ - ` - -## Markdown.render() should renders codeblock correctly - -> Snapshot 1 - - `
␊
-            filename.js␊
-            2␊
-            var project = 'boostnote';␊
-    ␊
-          
` - -## Markdown.render() should renders definition lists correctly - -> Snapshot 1 - - `

definition list

␊ -

list 1

␊ -
␊ -
Term 1
␊ -
Definition 1
␊ -
Term 2
␊ -
Definition 2a
␊ -
Definition 2b
␊ -
␊ -

Term 3
␊ - ~

␊ -

list 2

␊ -
␊ -
Term 1
␊ -
␊ -

Definition 1

␊ -
␊ -
Term 2 with inline markup
␊ -
␊ -

Definition 2

␊ -
  { some code, part of Definition 2 }␊
-    
␊ -

Third paragraph of definition 2.

␊ -
␊ -
␊ - ` - -## Markdown.render() should renders markdown correctly - -> Snapshot 1 - - `

Welcome to Boostnote!

␊ -

Click here to edit markdown πŸ‘‹

␊ - ␊ -

Docs πŸ“

␊ - ␊ -
␊ -

Article Archive πŸ“š

␊ - ␊ -
␊ -

Community 🍻

␊ - ␊ - ` - -## Markdown.render() should renders sub correctly - -> Snapshot 1 - - `

sub

␊ -

H20

␊ - ` - -## Markdown.render() should renders sup correctly - -> Snapshot 1 - - `

sup

␊ -

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 3f5ec41c0d4710ca98ea132da2e1ca9c30ff7799..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2471 zcmV;Y30U?)RzVr=7)FxiPRiiN_u!mDdGJb&Z0vtO$`cTYi{Jg_v7fA6_lGS-DShSMLgCbvV^L_`bN%NF|9Im=m%s4Pkd(gfzT}yJ=gWt# zpR8Uw@$@6!bEoDvJnsxi>9zEE2cFI64?n%`cYnOF{!j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