import { expect } from 'chai'
import types from '../../src/constants/actionTypes'
import { onClickMenuButton } from '../../src/actions/nav'

describe('actions/nav.js', () => {
  it('should toggle sidebar menu when click on menu button', () => {
    const isExpanded = false 
    
    expect(onClickMenuButton(isExpanded)).to.deep.equal(Object.assign({}, {
      type: types.ON_CLICK_MENU_BUTTON,
      isExpanded: ! isExpanded
    }))
  })
})
@@ -333,26 +333,8 @@
 ual(
-Object.assign(%7B%7D, 
 %7B%0A  
@@ -408,17 +408,16 @@
 d%0A    %7D)
-)
 %0A  %7D)%0A%7D)

Change from immutable > mutable object