import React from 'react'
import ReactTestUtils from 'react-addons-test-utils'
import assert from 'assert'
import {getKaomoji, getYmdStr } from '../app/Resources/js/utils/util.js'
import Header from '../app/Resources/js/components/header.jsx'

describe('testHeader', () => {
    const getComponent = () => {
        return ReactTestUtils.renderIntoDocument(<Header getDailyJson={[]} timelineDateList={[]} appUsername={'hoge'}/>)
    }

    it('username', () => {
        let component = getComponent()
        assert(component.props.appUsername == 'hoge')
    })
})

@@ -104,81 +104,8 @@
 rt'%0A
-import %7BgetKaomoji, getYmdStr %7D from '../app/Resources/js/utils/util.js'%0A
 impo

Revert "travis fail karma fix"