/**
 * Created by liudonghui on 17/9/8.
 */
import * as actions from '../../src/actions/load';

describe('load actions', () => {
    test('should create an action to add httpLength', () => {
        const expectedAction = {
            type: actions.ADDHTTPLOAD,
        }
        expect(actions.addHttpLoadLength()).toEqual(expectedAction);
    })

    test('should create an action to del httpLength', () => {
        const expectedAction = {
            type: actions.DELHTTPLOAD,
        }
        expect(actions.delHttpLoadLength()).toEqual(expectedAction);
    })
})