Skip to content

Instantly share code, notes, and snippets.

Jim Driscoll netdance

View GitHub Profile
@michaelcox
michaelcox / SpecRunner.js
Last active Sep 30, 2019
Browser Unit Testing with Backbone Mocha Chai and RequireJS
View SpecRunner.js
require.config({
baseUrl: '/backbone-tests/',
paths: {
'jquery' : '/app/libs/jquery',
'underscore' : '/app/libs/underscore',
'backbone' : '/app/libs/backbone',
'mocha' : 'libs/mocha',
'chai' : 'libs/chai',
'chai-jquery' : 'libs/chai-jquery',
'models' : '/app/models'
You can’t perform that action at this time.