diff options
| author | lain <lain@soykaf.club> | 2020-06-04 15:25:00 +0200 |
|---|---|---|
| committer | lain <lain@soykaf.club> | 2020-06-04 15:25:00 +0200 |
| commit | c2dfe1f6cc364175d5aa17d587f82bdb6b8b189c (patch) | |
| tree | b64374ed436b03f64b615362988ccebb77eac005 | |
| parent | f197a2aa39eb5cb77887b64b182be78a3eaefdd1 (diff) | |
EntityNormalizerSpec: Test new behavior.
| -rw-r--r-- | test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js | 4 |
1 files changed, 2 insertions, 2 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 cfb380ba..178e75c6 100644 --- a/test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js +++ b/test/unit/specs/services/entity_normalizer/entity_normalizer.spec.js @@ -338,9 +338,9 @@ describe('API Entities normalizer', () => { describe('MastoAPI emoji adder', () => { const emojis = makeMockEmojiMasto() - const imageHtml = '<img src="https://example.com/image.png" alt="image" title="image" class="emoji" />' + const imageHtml = '<img src="https://example.com/image.png" alt=":image:" title=":image:" class="emoji" />' .replace(/"/g, '\'') - const thinkHtml = '<img src="https://example.com/think.png" alt="thinking" title="thinking" class="emoji" />' + const thinkHtml = '<img src="https://example.com/think.png" alt=":thinking:" title=":thinking:" class="emoji" />' .replace(/"/g, '\'') it('correctly replaces shortcodes in supplied string', () => { |
