mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
15 lines
466 B
JavaScript
15 lines
466 B
JavaScript
document.write('<style> @import "../vendor/jasmine/jasmine.css?_=' + (+new Date).toString(36) + '"; </style>');
|
|
|
|
;(function(env){
|
|
env.addReporter(new jasmine.HtmlReporter);
|
|
// 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());
|