diff --git a/test/javascripts/acceptance/emoji-test.js.es6 b/test/javascripts/acceptance/emoji-test.js.es6 index a01b623d1a..48ac7f9bcc 100644 --- a/test/javascripts/acceptance/emoji-test.js.es6 +++ b/test/javascripts/acceptance/emoji-test.js.es6 @@ -1,3 +1,4 @@ +import { IMAGE_VERSION as v } from "pretty-text/emoji"; import { acceptance } from "helpers/qunit-helpers"; acceptance("Emoji", { loggedIn: true }); @@ -11,7 +12,7 @@ QUnit.test("emoji is cooked properly", async assert => { find(".d-editor-preview:visible") .html() .trim(), - '
this is an emoji 
this is an emoji 
'
+ `this is an emoji
`
);
});
@@ -32,7 +33,7 @@ QUnit.test("skin toned emoji is cooked properly", async assert => {
find(".d-editor-preview:visible")
.html()
.trim(),
- 'this is an emoji 
this is an emoji 
'
+ `this is an emoji
`
);
});
diff --git a/test/javascripts/acceptance/topic-test.js.es6 b/test/javascripts/acceptance/topic-test.js.es6
index f8e8f9ab58..bb4483c90c 100644
--- a/test/javascripts/acceptance/topic-test.js.es6
+++ b/test/javascripts/acceptance/topic-test.js.es6
@@ -1,4 +1,6 @@
import { acceptance } from "helpers/qunit-helpers";
+import { IMAGE_VERSION as v } from "pretty-text/emoji";
+
acceptance("Topic", {
loggedIn: true,
pretend(server, helper) {
@@ -181,7 +183,7 @@ QUnit.test("Updating the topic title with emojis", async assert => {
find(".fancy-title")
.html()
.trim(),
- 'emojis title
',
+ `emojis title
`,
"it displays the new title with emojis"
);
});