DEV: Update emojis constants (#15506)

Follow up to d1cfabd so the new emojis are usable by the app
This commit is contained in:
Rafael dos Santos Silva
2022-01-10 14:53:52 -03:00
committed by GitHub
parent ef37186be3
commit 06bba76719
13 changed files with 3963 additions and 41 deletions
@@ -8,6 +8,7 @@ import {
} from "discourse/tests/helpers/qunit-helpers";
import { click, visit } from "@ember/test-helpers";
import { test } from "qunit";
import { IMAGE_VERSION } from "pretty-text/emoji/version";
acceptance("User Drafts", function (needs) {
needs.user();
@@ -54,7 +55,7 @@ acceptance("User Drafts", function (needs) {
);
assert.strictEqual(
query(".user-stream-item:nth-child(3) .excerpt").innerHTML.trim(),
'here goes a reply to a PM <img src="/images/emoji/google_classic/slight_smile.png?v=10" title=":slight_smile:" class="emoji" alt=":slight_smile:">'
`here goes a reply to a PM <img src="/images/emoji/google_classic/slight_smile.png?v=${IMAGE_VERSION}" title=":slight_smile:" class="emoji" alt=":slight_smile:">`
);
});
});