2014-06-07 18:15:57 -07:00
|
|
|
// Helper for running tests through Karma.
|
|
|
|
// Hooks into the test view logic for running tests.
|
|
|
|
|
2015-02-05 13:58:07 -08:00
|
|
|
|
|
|
|
window.userObject = {_id:'1'}
|
2015-08-16 17:00:46 -07:00
|
|
|
window.StripeCheckout = {configure: function (){}}
|
2014-12-12 11:36:41 -08:00
|
|
|
initialize = require('core/initialize');
|
|
|
|
initialize.init();
|
2014-08-15 12:28:32 -07:00
|
|
|
console.debug = function() {}; // Karma conf doesn't seem to work? Debug messages are still emitted when they shouldn't be.
|
2014-06-16 11:38:03 -07:00
|
|
|
TestView = require('views/TestView');
|
2015-02-05 13:58:07 -08:00
|
|
|
TestView.runTests();
|