mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
11 lines
250 B
JavaScript
11 lines
250 B
JavaScript
// https://github.com/angular/protractor/issues/499
|
|
|
|
module.exports = function FailFast() {
|
|
var passed = jasmine.getEnv().currentSpec.results().passed()
|
|
if (!passed) {
|
|
jasmine.getEnv().specFilter = function() {
|
|
return false
|
|
}
|
|
}
|
|
}
|