Don't run TrivialConsoleReporter specs if TrivialConsoleReporter is not loaded

This commit is contained in:
ragaskar 2011-05-06 23:18:57 -04:00
parent 1fae8f0a31
commit d875d1d997

View File

@ -1,4 +1,5 @@
describe("TrivialConsoleReporter", function() {
if (jasmine.TrivialConsoleReporter) {
describe("TrivialConsoleReporter", function() {
//keep these literal. otherwise the test loses value as a test.
@ -426,4 +427,5 @@ describe("TrivialConsoleReporter", function() {
});
});
});
}