Last active
December 14, 2015 09:39
-
-
Save MandarinConLaBarba/5066968 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
require.config({ | |
"baseUrl" : "/base", | |
//paths to the stuff Testacular has loaded into the server, but not included in the page | |
"paths" : { | |
"jquery" : "vendor/jquery/jquery", | |
"chai" : "vendor/chai/chai", | |
"underscore" : "vendor/underscore-amd/underscore", | |
"sinon" : "vendor/sinon/sinon" | |
}, | |
//Some shims.. | |
"shim" : { | |
"chai" : { | |
"exports" : "chai" | |
}, | |
"sinon" : { | |
"exports" : "sinon" | |
} | |
}, | |
//The test to run...this tells RequireJS to run the test when it loads | |
deps : ["test/index"], | |
//This is run when the deps are all loaded | |
callback : function() { | |
window.__testacular__.start(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment