Skip to content

Instantly share code, notes, and snippets.

@nicoespeon
Created March 23, 2016 23:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicoespeon/c6c1f77d3d3315f632c0 to your computer and use it in GitHub Desktop.
Save nicoespeon/c6c1f77d3d3315f632c0 to your computer and use it in GitHub Desktop.
Blog - Testing Marionette.js Behaviors - use behavior test factory
describe( "Like View", () => {
const View = LikeView.extend( { template: _.template( "" ) } );
describe( "AddOnClick Behavior", () => {
addOnClickTests( { ViewClass: View, ModelClass: LikeModel } );
} );
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment