From f00554fe281dfccfed09524b4fc9a6677a56ffcf Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 9 Aug 2023 18:37:40 -0300 Subject: test: transformContent (snapshot) - lyrics line break tests --- .../test/snapshot/transformContent.js.test.cjs | 39 +++++++++++++++++++--- 1 file changed, 34 insertions(+), 5 deletions(-) (limited to 'tap-snapshots') diff --git a/tap-snapshots/test/snapshot/transformContent.js.test.cjs b/tap-snapshots/test/snapshot/transformContent.js.test.cjs index 4b4e090f..6b30ebc2 100644 --- a/tap-snapshots/test/snapshot/transformContent.js.test.cjs +++ b/tap-snapshots/test/snapshot/transformContent.js.test.cjs @@ -28,19 +28,48 @@ exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > lin ` -exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > non-inline image #1 1`] = ` -
+exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > lyrics - basic line breaks 1`] = ` +

Hey, ho
+And away we go
+Truly, music

+

(Oh yeah)
+(That's right)

+ +` + +exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > lyrics - line breaks around tags 1`] = ` +

The date be
+I say, the date be
+
+
+(Aye!)

+


+
+

+


+, and don't ye forget it

+ +` +exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > lyrics - repeated and edge line breaks 1`] = ` +

Well, you know
+How it goes

+

Yessiree

+ +` + +exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > non-inline image #1 1`] = ` +
` exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > non-inline image #2 1`] = `

Rad.

-
- +
` exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > non-inline image #3 1`] = ` -
+
+

Baller.

` -- cgit 1.3.0-6-gf8a5