diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-09-23 22:58:05 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-09-23 22:58:05 -0300 |
commit | 1978f9a53b398b60bcffb582bf5b1183aff48bcc (patch) | |
tree | dcae9e22bcc45a07782711013c1a1615fba6b75c /test | |
parent | 9559a6febce8f1b2b5efb2c6d4ebf29484dce141 (diff) |
test: transformContent: test how email addresses are treated
Diffstat (limited to 'test')
-rw-r--r-- | test/snapshot/transformContent.js | 5 |
1 files changed, 5 insertions, 0 deletions
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 }); |