Skip to content

Instantly share code, notes, and snippets.

@alexnm
Created January 21, 2017 15:03
Show Gist options
  • Select an option

  • Save alexnm/4445b5bd1e92663b9b76bd5b6f9e3471 to your computer and use it in GitHub Desktop.

Select an option

Save alexnm/4445b5bd1e92663b9b76bd5b6f9e3471 to your computer and use it in GitHub Desktop.
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