mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
15 lines
419 B
JavaScript
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());
|