Created
          April 6, 2016 00:52 
        
      - 
      
 - 
        
Save Nicktho/f2249d769a9469c83dbe7f4612d0b6cd to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | describe('createStore', () => { | |
| describe('#getState', () => { | |
| it('should return the current state', () => { | |
| const state = { notes: [ 'hello world', 'hello' ] }; | |
| const store = createStore(x => x, state); | |
| expect(store.getState()).to.equal(state); | |
| }); | |
| }); | |
| }); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment