Add emoji shortcode test

This commit is contained in:
Jasmin 2023-07-14 08:55:35 +02:00 committed by GitHub
parent 5485b7a9ea
commit ff3a1d3d65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,6 +58,7 @@ const valueExtractionTests = [
], // 404 errors
[`<a href="https://de.pronouns.page/:Katze"></a>`, "Katze"], // custom pronouns
[`<a href="https://de.pronouns.page/@benaryorg"></a>`, "Katze"], // custom pronouns in profile
[`:theythem:`, null] // emojis shortcodes used for pronouns
];
for (const [input, expects] of valueExtractionTests) {
valueExtractionSuite(input, async () => {