Update test

This commit is contained in:
Aya Morisawa 2016-12-31 02:38:40 +09:00
parent f682830ccf
commit ed24e607ac
1 changed files with 1 additions and 1 deletions

View File

@ -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' },