Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
/* global Tyrtle */
// by convention, test files end with `-test`
var tests = Object.keys(window.__karma__.files).filter(RegExp.prototype.test.bind(/-test\.js$/));
// Karma serves files from '/base'
baseUrl: '/base/public/',
paths: {
'$': 'lib/dollar/dollar',
'backbone': 'vendor/backbone',
'underscore': 'lib/underscore'
// ask Require.js to load these files (all our tests)
deps: tests,
// start tests, once Require.js is done
callback: function () {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment