Last active
December 14, 2015 09:39
-
-
Save MandarinConLaBarba/5066835 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(root, enqueue) { | |
// Set up appropriately for the environment. | |
if (typeof exports !== 'undefined') { | |
// Node/CommonJS, need jQuery-deferred instead of regular jQuery | |
enqueue( | |
require('jquery-deferred'), | |
require("underscore"), | |
require('sinon'), | |
require('should'), | |
require('../sebastian').flow); | |
} else if (typeof define === 'function' && define.amd) { | |
// AMD/Testacular | |
define(['jquery', 'underscore', 'sinon', 'chai', 'sebastian'], function($, _, sinon, chai, sebastian) { | |
enqueue($, _, sinon, chai.Should(), sebastian.flow); | |
}); | |
} | |
}(this, function($, _, sinon, should, flow) { | |
//Specs go here | |
describe("some specification", function(){ | |
it("should do stuff", function() { | |
//assert | |
}); | |
}); | |
})); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment