describe('Courseware', function() { describe('start', () => it('binds the Logger', function() { spyOn(Logger, 'bind'); Courseware.start(); expect(Logger.bind).toHaveBeenCalled(); }) ); describe('render', function() { beforeEach(function() { jasmine.stubRequests(); this.courseware = new Courseware; spyOn(window, 'Histogram'); spyOn(window, 'Problem'); spyOn(window, 'Video'); spyOn(XBlock, 'initializeBlocks'); setFixtures(`\