Picture of Chris Jones
Re: Component unit tests
by Chris Jones - Thursday, 16 January 2014, 2:18 PM
 

A faked ComponentView would look a bit like

{

        initialize: function() {},

        preRender: function() {},
        
        postRender: function() {},
        
        render: function() {},
 
        addChildren: function() {}.
}      
 
Just enough to get the test to run.