Created
January 21, 2017 15:03
-
-
Save alexnm/4445b5bd1e92663b9b76bd5b6f9e3471 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
| import expect from "expect.js"; | |
| import reducer from "./reducers"; | |
| import actions from "./actions"; | |
| describe( "duck reducer", function( ) { | |
| describe( "quack", function( ) { | |
| const quack = actions.quack( ); | |
| const initialState = false; | |
| const result = reducer( initialState, quack ); | |
| it( "should quack", function( ) { | |
| expect( result ).to.be( true ) ; | |
| } ); | |
| } ); | |
| } ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment