 <p>You should try following</p> <pre><code>var backbone_historySpy=spyOn(Backbone,'history.navigate'); describe('testing function action:',function(){ it('expect Backbone.history.navigate() to be called',function(){ module.action(); expect(backbone_historySpy).toHaveBeenCalled(); }); }); </code></pre> <p>It should work</p>