Files
react/test/jasmine-execute.js
T
2013-11-06 15:30:50 -05:00

15 lines
419 B
JavaScript

;(function(env){
env.addReporter(new TAPReporter(console.log.bind(console)));
env.addReporter(new jasmine.JSReporter());
// Clean up any nodes the previous test might have added.
env.afterEach(function() {
harness.removeNextSiblings(document.body);
harness.removeNextSiblings(document.getElementById("HTMLReporter"));
});
window.onload = function(){
env.execute();
}
})(jasmine.getEnv());