refactor mfm extract (#7434)
* refactor extractCustomEmojisFromMfm() * refactor extract-hashtags * refactor extract-mentions * refactor extract-hashtags * refactor extract-url-from-mfm * refactor extract-mentions
This commit is contained in:
parent
56a28923ca
commit
3a6331693a
9 changed files with 34 additions and 53 deletions
|
@ -1,6 +1,6 @@
|
|||
import * as assert from 'assert';
|
||||
|
||||
import extractMentions from '../src/misc/extract-mentions';
|
||||
import { extractMentions } from '../src/misc/extract-mentions';
|
||||
import { parse } from 'mfm-js';
|
||||
|
||||
describe('Extract mentions', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue