mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
move html reporter and its requirements
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
document.write('<style> @import "../vendor/jasmine/jasmine.css?_=' + (+new Date).toString(36) + '"; </style>');
|
||||
|
||||
;(function(env){
|
||||
env.addReporter(new TAPReporter(console.log.bind(console)));
|
||||
env.addReporter(new jasmine.JSReporter());
|
||||
|
||||
env.addReporter(new jasmine.HtmlReporter);
|
||||
// Clean up any nodes the previous test might have added.
|
||||
env.afterEach(function() {
|
||||
harness.removeNextSiblings(document.body);
|
||||
|
||||
Reference in New Issue
Block a user