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 @@ -131,10 +131,10 @@ export class ProtractorBuilder implements Builder<ProtractorBuilderOptions> {
131
131
}
132
132
133
133
private _runProtractor ( root : Path , options : ProtractorBuilderOptions ) : Observable < BuildEvent > {
134
- const additionalProtractorConfig = {
134
+ const additionalProtractorConfig : Partial < ProtractorBuilderOptions > = {
135
135
elementExplorer : options . elementExplorer ,
136
136
baseUrl : options . baseUrl ,
137
- spec : options . specs . length ? options . specs : undefined ,
137
+ specs : options . specs . length ? options . specs : undefined ,
138
138
suite : options . suite ,
139
139
} ;
140
140
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