aboutsummaryrefslogtreecommitdiff
path: root/test/unit/specs
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-06-12 19:54:03 +0300
committerHenry Jameson <me@hjkos.com>2021-06-12 19:54:34 +0300
commit90a188f2c3c16b926c75bf4aa749633e6967e5a0 (patch)
tree5683f45402f6f48570e214a1df8c9e9c6bfe1d68 /test/unit/specs
parentcd4455675024a3dfc8930184114d5f92438d0466 (diff)
cleanup
Diffstat (limited to 'test/unit/specs')
-rw-r--r--test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js b/test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js
index 759539e0..c8965785 100644
--- a/test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js
+++ b/test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js
@@ -23,7 +23,6 @@ const makeMockStatusQvitter = (overrides = {}) => {
repeat_num: 0,
repeated: false,
statusnet_conversation_id: '16300488',
- statusnet_html: '<p>haha benis</p>',
summary: null,
tags: [],
text: 'haha benis',
@@ -233,14 +232,6 @@ describe('API Entities normalizer', () => {
expect(parsedRepeat).to.have.deep.property('retweeted_status.id', 'deadbeef')
})
- it('adds emojis to post content', () => {
- const post = makeMockStatusMasto({ emojis: makeMockEmojiMasto(), content: 'Makes you think :thinking:' })
-
- const parsedPost = parseStatus(post)
-
- expect(parsedPost).to.have.property('statusnet_html').that.contains('<img')
- })
-
it('adds emojis to subject line', () => {
const post = makeMockStatusMasto({ emojis: makeMockEmojiMasto(), spoiler_text: 'CW: 300 IQ :thinking:' })