codecombat/app/assets/javascripts/run-tests.js
2014-12-12 13:12:35 -08:00

8 lines
No EOL
339 B
JavaScript

// Helper for running tests through Karma.
// Hooks into the test view logic for running tests.
initialize = require('core/initialize');
initialize.init();
console.debug = function() {}; // Karma conf doesn't seem to work? Debug messages are still emitted when they shouldn't be.
TestView = require('views/TestView');
TestView.runTests();