openstack-health/gulp/tasks/reports.js
Tim a0561d5503 Disable Protractor tests and enable strictDi
This disables the Protractor E2E tests due to a high failure rate
related to a protractor/chrome bug [1] where ChromeDriver would
frequently hang. The E2E tests were mainly used to check for
dependency injection failures, but they didn't catch all (or even
most) failures. Instead, this enables angular's built-in 'strictDi'
mode, which will raise errors during normal development (i.e.
non-production builds) and during unit tests whenever a bad injection
is used.

[1] https://github.com/angular/protractor/issues/2419

Change-Id: I825986a3df457326a6c0c0c3b4d8584617a9d5e2
2016-04-02 14:27:08 -06:00

12 lines
222 B
JavaScript

'use strict';
var config = require('../config');
var gulp = require('gulp');
gulp.task('reports', ['prod'], function() {
return gulp.src(config.reports.src)
.pipe(gulp.dest(config.reports.dest));
});