Update test
This commit is contained in:
parent
f682830ccf
commit
ed24e607ac
@ -4,7 +4,7 @@ const analyze = require('../src/common/text');
|
|||||||
//const complie = require('../src/web/app/common/scripts/text-compiler');
|
//const complie = require('../src/web/app/common/scripts/text-compiler');
|
||||||
|
|
||||||
describe('Text', () => {
|
describe('Text', () => {
|
||||||
it('正しく解析される', () => {
|
it('is correctly analyzed', () => {
|
||||||
const tokens = analyze('@himawari お腹ペコい #yryr');
|
const tokens = analyze('@himawari お腹ペコい #yryr');
|
||||||
assert.deepEqual([
|
assert.deepEqual([
|
||||||
{ type: 'mention', content: '@himawari', username: 'himawari' },
|
{ type: 'mention', content: '@himawari', username: 'himawari' },
|
||||||
|
Loading…
Reference in New Issue
Block a user