From 1978f9a53b398b60bcffb582bf5b1183aff48bcc Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 23 Sep 2024 22:58:05 -0300 Subject: test: transformContent: test how email addresses are treated --- test/snapshot/transformContent.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/snapshot/transformContent.js b/test/snapshot/transformContent.js index 87e337e4..fffd9ad5 100644 --- a/test/snapshot/transformContent.js +++ b/test/snapshot/transformContent.js @@ -156,6 +156,11 @@ testContentFunctions(t, 'transformContent (snapshot)', async (t, evaluate) => { `[[date:13 April 2004]], and don't ye forget it`, {mode: 'lyrics'}); + quickSnapshot( + 'emails', + `Email cute dogs to qznebula@protonmail.com please.\n` + + `Just kidding... [unless?](mailto:qznebula@protonmail.com)`); + // TODO: Snapshots for mode: inline // TODO: Snapshots for mode: single-link }); -- cgit 1.3.0-6-gf8a5