File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -33,16 +33,16 @@ export default function() {
33
33
// Add a lazy module.
34
34
. then ( ( ) => ng ( 'generate' , 'module' , 'lazy' , '--routing' ) )
35
35
// Just wait for the rebuild, otherwise we might be validating the last build.
36
- . then ( ( ) => wait ( 1000 ) )
36
+ . then ( ( ) => wait ( 2000 ) )
37
37
. then ( ( ) => writeFile ( 'src/app/app.module.ts' , `
38
38
import { BrowserModule } from '@angular/platform-browser';
39
39
import { NgModule } from '@angular/core';
40
40
import { FormsModule } from '@angular/forms';
41
41
import { HttpModule } from '@angular/http';
42
-
42
+
43
43
import { AppComponent } from './app.component';
44
44
import { RouterModule } from '@angular/router';
45
-
45
+
46
46
@NgModule({
47
47
declarations: [
48
48
AppComponent
@@ -60,6 +60,7 @@ export default function() {
60
60
})
61
61
export class AppModule { }
62
62
` ) )
63
+ . then ( ( ) => wait ( 2000 ) )
63
64
// Should trigger a rebuild with a new bundle.
64
65
. then ( ( ) => waitForAnyProcessOutputToMatch (
65
66
/ w e b p a c k : b u n d l e i s n o w V A L I D | w e b p a c k : C o m p i l e d s u c c e s s f u l l y ./ , 10000 ) )
You can’t perform that action at this time.
0 commit comments