File tree 2 files changed +4
-4
lines changed
packages/angular_devkit/build_angular
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -128,10 +128,10 @@ export class ProtractorBuilder implements Builder<ProtractorBuilderOptions> {
128
128
}
129
129
130
130
private _runProtractor ( root : Path , options : ProtractorBuilderOptions ) : Observable < BuildEvent > {
131
- const additionalProtractorConfig = {
131
+ const additionalProtractorConfig : Partial < ProtractorBuilderOptions > = {
132
132
elementExplorer : options . elementExplorer ,
133
133
baseUrl : options . baseUrl ,
134
- spec : options . specs . length ? options . specs : undefined ,
134
+ specs : options . specs . length ? options . specs : undefined ,
135
135
suite : options . suite ,
136
136
} ;
137
137
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ describe('Protractor Builder', () => {
32
32
33
33
it ( 'overrides protractor specs' , ( done ) => {
34
34
host . scopedSync ( ) . rename ( normalize ( './e2e/app.e2e-spec.ts' ) ,
35
- normalize ( './e2e/renamed-app.e2e- spec.ts' ) ) ;
35
+ normalize ( './e2e/renamed-app.e2e. spec.ts' ) ) ;
36
36
37
- const overrides = { specs : [ './e2e/renamed-app.e2e- spec.ts' ] } ;
37
+ const overrides = { specs : [ './e2e/renamed-app.e2e. spec.ts' ] } ;
38
38
39
39
runTargetSpec ( host , protractorTargetSpec , overrides ) . pipe (
40
40
retry ( 3 ) ,
You can’t perform that action at this time.
0 commit comments