don't bother with tests if there are javascript errors
This commit is contained in:
parent
39a1132293
commit
a313b9bdfd
@ -153,6 +153,7 @@ void HeadlessSpecRunner::timerEvent(QTimerEvent *event)
|
||||
if (hasErrors && m_runs > 2)
|
||||
QApplication::instance()->exit(1);
|
||||
|
||||
if (!hasErrors) {
|
||||
if (!hasElement(".jasmine_reporter") && !hasElement(".runner.running"))
|
||||
return;
|
||||
|
||||
@ -177,6 +178,7 @@ void HeadlessSpecRunner::timerEvent(QTimerEvent *event)
|
||||
QApplication::instance()->exit(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#include "specrunner.moc"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user