From 8bc0bd0205983fea97803a9993225b42830544c8 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 30 Jul 2023 20:13:20 -0300 Subject: test: transformContent (snapshot) for image processing --- .../test/snapshot/transformContent.js.test.cjs | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 tap-snapshots/test/snapshot/transformContent.js.test.cjs (limited to 'tap-snapshots') diff --git a/tap-snapshots/test/snapshot/transformContent.js.test.cjs b/tap-snapshots/test/snapshot/transformContent.js.test.cjs new file mode 100644 index 00000000..a59f8b5d --- /dev/null +++ b/tap-snapshots/test/snapshot/transformContent.js.test.cjs @@ -0,0 +1,46 @@ +/* IMPORTANT + * This snapshot file is auto-generated, but designed for humans. + * It should be checked into source control and tracked carefully. + * Re-generate by setting TAP_SNAPSHOT=1 and running tests. + * Make sure to inspect the output below. Do not ignore changes! + */ +'use strict' +exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > inline images 1`] = ` +

as USUAL...

+

What do you know?

+

I'm on the left.

+

I'm on the right.

+

Media time! Oh yeah!

+

+

And... all done!

+ +` + +exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > links to a thing 1`] = ` +

This is my favorite album.

+

That's right, Cool Album!

+ +` + +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.

+ +` + +exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > two text paragraphs 1`] = ` +

Hello, world!

+

Wow, this is very cool.

+ +` -- cgit 1.3.0-6-gf8a5